Skip to content

Commit

Permalink
Travis: avoid duplicate builds
Browse files Browse the repository at this point in the history
Change .travis.yml to generate a build matrix which is only
TRAVIS_PYTHON_VERSION x DJANGO_VERSION, reducing the number of builds
from 15 to 5.
  • Loading branch information
acdha committed Aug 5, 2013
1 parent f1bc584 commit 4796f1b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ python:
- "3.3"

env:
- TOXENV=py26-1.5
- TOXENV=py27-1.5
- TOXENV=py33-1.5
- TOXENV=docs
- TOXENV=py27-dev,py33-dev
- DJANGO_VERSION=1.5
- DJANGO_VERSION=dev

matrix:
allow_failures:
- env: TOXENV=py27-dev,py33-dev
- env: DJANGO_VERSION=dev
exclude:
- env: DJANGO_VERSION=dev
python: "2.6"

# command to install dependencies
install:
- pip install tox

# command to run tests
script:
- tox
- tox -e py${TRAVIS_PYTHON_VERSION/./}-${DJANGO_VERSION},docs

0 comments on commit 4796f1b

Please sign in to comment.