Skip to content

Commit

Permalink
travis configuration with tox
Browse files Browse the repository at this point in the history
  • Loading branch information
jstolarski committed Jun 29, 2015
1 parent 3b92eb6 commit 346e9e2
Showing 1 changed file with 29 additions and 8 deletions.
37 changes: 29 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,43 @@
language: python
env:
- DJANGO_VERSION=1.2.7
- DJANGO_VERSION=1.3.7
- DJANGO_VERSION=1.4.20
- DJANGO_VERSION=1.5.12
- DJANGO_VERSION=1.6.11
- DJANGO_VERSION=1.7.8
- DJANGO_VERSION=1.8.2
- DJANGO_VERSION=1.2
- DJANGO_VERSION=1.3
- DJANGO_VERSION=1.4
- DJANGO_VERSION=1.5
- DJANGO_VERSION=1.6
- DJANGO_VERSION=1.7
- DJANGO_VERSION=1.8
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
matrix:
exclude:
- env: DJANGO_VERSION=1.2
python: "3.2"
- env: DJANGO_VERSION=1.2
python: "3.3"
- env: DJANGO_VERSION=1.2
python: "3.4"
- env: DJANGO_VERSION=1.3
python: "3.2"
- env: DJANGO_VERSION=1.3
python: "3.3"
- env: DJANGO_VERSION=1.3
python: "3.4"
- env: DJANGO_VERSION=1.4
python: "3.2"
- env: DJANGO_VERSION=1.4
python: "3.3"
- env: DJANGO_VERSION=1.4
python: "3.4"
# command to install dependencies
install:
- pip install -q Django==$DJANGO_VERSION
- pip install -r test-requirements.txt
- pip install coveralls
# command to run tests
script: coverage run setup.py test
script:
- tox -e py${TRAVIS_PYTHON_VERSION/./}-django${DJANGO_VERSION}
after_success: coveralls

0 comments on commit 346e9e2

Please sign in to comment.