2014-01-05 09:34:10 +00:00
|
|
|
# Config file for automatic testing at travis-ci.org
|
|
|
|
|
|
|
|
language: python
|
|
|
|
|
|
|
|
python:
|
2014-06-11 11:02:42 +00:00
|
|
|
- 3.3
|
|
|
|
- 3.4
|
2014-06-10 23:08:27 +00:00
|
|
|
- 2.7
|
|
|
|
- 2.6
|
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
2015-01-04 17:39:38 +00:00
|
|
|
- DJANGO='django16'
|
|
|
|
- DJANGO='django17'
|
2014-01-05 09:34:10 +00:00
|
|
|
|
|
|
|
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
2014-06-10 23:08:27 +00:00
|
|
|
install:
|
2015-01-01 17:51:45 +00:00
|
|
|
- pip install -U tox>=1.8 coveralls
|
|
|
|
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then export PYVER=py26; fi"
|
|
|
|
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then export PYVER=py27; fi"
|
|
|
|
- "if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then export PYVER=py33; fi"
|
|
|
|
- "if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PYVER=py34; fi"
|
2014-01-05 09:34:10 +00:00
|
|
|
|
|
|
|
# command to run tests, e.g. python setup.py test
|
2015-01-01 17:51:45 +00:00
|
|
|
script: COMMAND='coverage run' tox -e"$PYVER-$DJANGO"
|
2014-06-10 23:08:27 +00:00
|
|
|
|
|
|
|
after_success: coveralls
|
|
|
|
|
|
|
|
matrix:
|
2014-10-11 07:15:11 +00:00
|
|
|
exclude:
|
|
|
|
- python: 2.6
|
2015-01-04 17:39:38 +00:00
|
|
|
env: DJANGO='django17'
|
2014-06-10 23:08:27 +00:00
|
|
|
|
|
|
|
allow_failures:
|
|
|
|
- python: 3.3
|
2015-01-04 17:39:38 +00:00
|
|
|
env: DJANGO='django15'
|
2014-06-10 23:08:27 +00:00
|
|
|
- python: 3.3
|
2015-01-04 17:39:38 +00:00
|
|
|
env: DJANGO='django16'
|
2014-10-11 07:15:11 +00:00
|
|
|
- python: 3.3
|
2015-02-01 13:43:42 +00:00
|
|
|
env: DJANGO='django17'
|
2014-06-11 11:02:42 +00:00
|
|
|
- python: 3.4
|
2015-01-04 17:39:38 +00:00
|
|
|
env: DJANGO='django15'
|
2014-06-11 11:02:42 +00:00
|
|
|
- python: 3.4
|
2015-01-04 17:39:38 +00:00
|
|
|
env: DJANGO='django16'
|
2014-10-11 07:15:11 +00:00
|
|
|
- python: 3.4
|
2015-01-04 17:39:38 +00:00
|
|
|
env: DJANGO='django17'
|