Merge branch 'master' into guardian
[e_cidadania.git] / .travis.yml
blobea62bb0e567235eeeb9b5c7158eaeb43a94f5832
1 language: python
2 python:
3   - "2.6"
4   - "2.7"
5 env:
6   - DJANGO=1.2.7
7   - DJANGO=1.3.7
8   - DJANGO=1.4.5
9 # command to install dependencies
10 install:
11   - pip install -q Django==$DJANGO --use-mirrors
12   - pip install pep8 --use-mirrors
13   - pip install django-nose --use-mirrors
14   - pip install -r src/requirements.txt --use-mirrors
15 before_script:
16   - "pep8 --exclude=migrations --ignore=E501,E225,E128,E127 --exclude=thirdparty src"
17   - "python bootstrap.py"
18   - "python bin/buildout"
19 # command to run tests
20 script: cd src && ../bin/django test