Skip to content

Commit

Permalink
Abstract DJANGO_VERSION to deal with <version,revision>
Browse files Browse the repository at this point in the history
  • Loading branch information
Sébastien Fievet committed Mar 19, 2015
1 parent 643c67c commit cb0a6ab
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,27 @@ python:
- "3.3"
- "3.4"
env:
- DJANGO_VERSION=1.4.19
- DJANGO_VERSION=1.5.12
- DJANGO_VERSION=1.6.10
- DJANGO_VERSION=1.7.6
- DJANGO_VERSION=1.4
- DJANGO_VERSION=1.5
- DJANGO_VERSION=1.6
- DJANGO_VERSION=1.7
matrix:
exclude:
- python: "3.2"
env: DJANGO_VERSION=1.4.19
env: DJANGO_VERSION=1.4
- python: "3.3"
env: DJANGO_VERSION=1.4.19
env: DJANGO_VERSION=1.4
- python: "3.4"
env: DJANGO_VERSION=1.4.19
env: DJANGO_VERSION=1.4
- python: "2.6"
env: DJANGO_VERSION=1.7.6
env: DJANGO_VERSION=1.7
before_install:
- apt-get install -y shtool
- shtool version -s "${DJANGO_VERSION}.0" dj_version.txt
- shtool version -i r dj_version.txt
install:
- pip install -q Django==$DJANGO_VERSION
- NEW_DJANGO_VERSION=$(shtool version -d short dj_version.txt)
- pip install -q "Django>=${DJANGO_VERSION},<${NEW_DJANGO_VERSION}"
- pip install -q -e . -r requirements-test.txt
- pip install coveralls
before_script:
Expand Down

0 comments on commit cb0a6ab

Please sign in to comment.