forked from graphite-project/graphite-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (28 loc) · 927 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: python
python:
- "2.6"
- "2.7"
env:
- REQUIREMENTS="Django<1.5 django-discover-runner"
- REQUIREMENTS="Django<1.6 django-discover-runner"
- REQUIREMENTS="Django<1.7"
- REQUIREMENTS="Django<1.8"
before_install:
- sudo apt-get -y install libcairo2-dev
- mkdir -pv storage/log/webapp
- mkdir -pv storage/ceres
- mkdir -pv storage/whisper
- touch storage/index
- cd webapp
install:
- pip install https://github.com/graphite-project/ceres/tarball/master
- pip install https://github.com/graphite-project/whisper/tarball/master
- pip install $REQUIREMENTS
- pip install django-tagging pytz pyparsing==1.5.7 http://cairographics.org/releases/py2cairo-1.8.10.tar.gz
script:
- PYTHONPATH=. python graphite/manage.py syncdb --noinput
- PYTHONPATH=. python graphite/manage.py test --settings=tests.settings -v2
matrix:
exclude:
- python: "2.6"
env: REQUIREMENTS="Django<1.8"