ponytracker/.travis.yml
2015-04-12 18:29:19 +02:00

28 lines
765 B
YAML

language: python
python:
- 2.7
- 3.2
- 3.4
env:
- DJANGO='1.8'
install:
- pip install -r requirements.txt
- if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then pip install coveralls; 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 manage.py test; fi
- if [[ $TRAVIS_PYTHON_VERSION != 3.4 ]]; then python manage.py test; fi
after_success:
if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then coveralls; fi
notifications:
irc:
channels: "irc.freenode.org#ponytracker"
template:
- "%{repository}@%{branch}: %{message} (%{build_url})"
use_notice: true
skip_join: true
email: false