From 16eedc011f71e6838c1f5c90ee7ec4b0e33f100a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lie=20Bouttier?= Date: Sun, 12 Apr 2015 18:19:09 +0200 Subject: [PATCH] update travis config for testing django 1.8 --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1e2f135..64cb58f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,18 +7,20 @@ python: env: - DJANGO='1.6' - DJANGO='1.7' + - DJANGO='1.8' 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 - - if [[ $DJANGO == '1.7' && $TRAVIS_PYTHON_VERSION == 3.4 ]]; then pip install coveralls; fi + - if [[ $DJANGO == '1.8' && $TRAVIS_PYTHON_VERSION == 3.4 ]]; then pip install coveralls; fi script: - - if [[ $DJANGO == '1.7' && $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.7' || $TRAVIS_PYTHON_VERSION != 3.4 ]]; then python manage.py test; fi + - 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 [[ $DJANGO != '1.8' || $TRAVIS_PYTHON_VERSION != 3.4 ]]; then python manage.py test; fi after_success: - if [[ $DJANGO == '1.7' && $TRAVIS_PYTHON_VERSION == 3.4 ]]; then coveralls; fi + if [[ $DJANGO == '1.8' && $TRAVIS_PYTHON_VERSION == 3.4 ]]; then coveralls; fi notifications: irc: