Skip to content

Commit

Permalink
use tox-travis that recommended by jazzband.
Browse files Browse the repository at this point in the history
  • Loading branch information
shimizukawa authored and jezdez committed Nov 30, 2018
1 parent 1aae2d9 commit bfe2e30
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,19 @@ python:
- '3.5'
- '3.6'
cache: pip
env:
- DJANGO="2.0"
- DJANGO="1.11"
install:
- travis_retry pip install tox-travis
script:
- tox

matrix:
fast_finish: true
exclude:
- env: DJANGO="2.0"
python: 2.7
jobs:
include:
- stage: flake8
Expand Down
11 changes: 11 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ envlist =
readme
skipsdist = True

[travis]
python =
2.7: py27
3.5: py35
3.6: py36,flake8,readme

[travis:env]
DJANGO =
1.11: dj111
2.0: dj20

[testenv]
deps =
dj111: Django>=1.11,<1.12
Expand Down

0 comments on commit bfe2e30

Please sign in to comment.