Skip to content

Commit

Permalink
Fix travis config
Browse files Browse the repository at this point in the history
- Use TOXENV env variable instead of "-e $TOX_ENV"
- "-- tests_app" argument is no longer necessary.
- Fix py2k django 2.x exclusion
- Add python 3.6 to matrix
  • Loading branch information
Ryan P Kilby committed Apr 13, 2018
1 parent 5bef6d2 commit d34853b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@ language: python
cache: pip

python:
- "3.6"
- "3.5"
- "3.4"
- "2.7"

env:
- TOX_ENV=django.1.11
- TOX_ENV=django.2.0
- TOXENV=django.1.11
- TOXENV=django.2.0

matrix:
fast_finish: true
exclude:
- { python: "2.7", env: DJANGO=2.0 }
- { python: "2.7", env: TOXENV=django.2.0 }

install:
- pip install tox

script:
- tox -e $TOX_ENV -- tests_app
- tox

0 comments on commit d34853b

Please sign in to comment.