dropping dj<1.8 (see branch django-1.7 otherwise)

This commit is contained in:
Élie Bouttier 2015-04-12 18:29:19 +02:00
parent 16eedc011f
commit f43d3911c3

View file

@ -5,22 +5,18 @@ python:
- 3.4 - 3.4
env: env:
- DJANGO='1.6'
- DJANGO='1.7'
- DJANGO='1.8' - DJANGO='1.8'
install: install:
- if [[ $DJANGO == '1.6' ]]; then pip install django==1.6; fi
- if [[ $DJANGO == '1.7' ]]; then pip install django==1.7; fi
- pip install -r requirements.txt - pip install -r requirements.txt
- if [[ $DJANGO == '1.8' && $TRAVIS_PYTHON_VERSION == 3.4 ]]; then pip install coveralls; fi - if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then pip install coveralls; fi
script: script:
- if [[ $DJANGO == '1.8' && $TRAVIS_PYTHON_VERSION == 3.4 ]]; then coverage run --branch --source=accounts,permissions,tracker --omit=accounts/migrations/*.py,permissions/migrations/*.py,tracker/migrations/*.py manage.py test; fi - if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then coverage run --branch --source=accounts,permissions,tracker --omit=accounts/migrations/*.py,permissions/migrations/*.py,tracker/migrations/*.py manage.py test; fi
- if [[ $DJANGO != '1.8' || $TRAVIS_PYTHON_VERSION != 3.4 ]]; then python manage.py test; fi - if [[ $TRAVIS_PYTHON_VERSION != 3.4 ]]; then python manage.py test; fi
after_success: after_success:
if [[ $DJANGO == '1.8' && $TRAVIS_PYTHON_VERSION == 3.4 ]]; then coveralls; fi if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then coveralls; fi
notifications: notifications:
irc: irc: