Skip to content

Commit

Permalink
Fix some travis config issues
Browse files Browse the repository at this point in the history
  • Loading branch information
davesque committed Nov 15, 2018
1 parent 118bf0b commit d654a2f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
17 changes: 10 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
language: python

dist: xenial
sudo: required

cache: pip

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

sudo: false
- "3.7"

env:
- DJANGO=1.11
Expand All @@ -22,18 +23,20 @@ matrix:
- python: "3.6"
env: TOXENV="lint"
exclude:
- python: "3.7"
env: DJANGO=1.11
- python: "2.7"
env: DJANGO=2.0
- python: "2.7"
env: DJANGO=2.1
- python: "3.5"
env: DJANGO=2.1
- python: "2.7"
env: DJANGO=master
- python: "3.4"
env: DJANGO=master
- python: "3.4"
env: DJANGO=2.1
- python: "3.5"
env: DJANGO=master
- python: "3.6"
env: DJANGO=master
allow_failures:
- env: DJANGO=master

Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ addopts=--tb=short
envlist =
py{27,35,36}-django111-drf{35,36,37,38},
py{35,36,37}-django20-drf{37,38},
py37-django{21,master}-drf{38,39},
py{36,37}-django21-drf{38,39},
py37-djangomaster-drf39,
lint

[travis:env]
Expand Down

0 comments on commit d654a2f

Please sign in to comment.