Skip to content

Commit

Permalink
add python 3.5 to travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bouttier committed Apr 17, 2016
1 parent 032a889 commit 566576a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@ python:
- 2.7
- 3.2
- 3.4
- 3.5

env:
- DJANGO='1.8'
- DJANGO_SETTINGS_MODULE='ponytracker.test_settings'

install:
- pip install -r requirements.txt
- if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then pip install coveralls mock; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install coveralls mock; fi

script:
- if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then coverage run --branch --source=accounts,permissions,tracker --omit=accounts/migrations/*.py,permissions/migrations/*.py,tracker/migrations/*.py,tracker/tasks.py manage.py test; fi
- if [[ $TRAVIS_PYTHON_VERSION != 3.4 ]]; then python manage.py test; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then coverage run --branch --source=accounts,permissions,tracker --omit=accounts/migrations/*.py,permissions/migrations/*.py,tracker/migrations/*.py,tracker/tasks.py manage.py test; fi
- if [[ $TRAVIS_PYTHON_VERSION != 3.5 ]]; then python manage.py test; fi

after_success:
if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then coveralls; fi
if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then coveralls; fi

notifications:
irc:
Expand Down

0 comments on commit 566576a

Please sign in to comment.