Switch to tox-travis

This commit is contained in:
Brent O'Connor 2019-06-26 13:49:45 -05:00
parent ddd7f50503
commit 353a6d7a22
2 changed files with 5 additions and 30 deletions

View file

@ -1,35 +1,11 @@
sudo: false
language: python
python:
- "2.7"
- "3.6"
- "3.7"
install: pip install tox-travis
branches:
only:
- master
matrix:
include:
- python: 2.7
env: TOXENV=py27-lint
- python: 2.7
env: TOXENV=py27-django111
- python: 3.6
env: TOXENV=py36-django111
- python: 3.6
env: TOXENV=py36-django2
- python: 3.6
env: TOXENV=py36-django21
- python: 3.6
env: TOXENV=py36-django22
install:
- pip install tox
script:
- tox -e $TOXENV
after_success:
- pip install codecov
- codecov -e TOXENV
script: tox

View file

@ -4,7 +4,6 @@ envlist =
py27-lint
py27-django{111}
py36-django{111,2,21,22}
py37-django{111,2,21,22}
coverage-report
[testenv]
@ -34,4 +33,4 @@ commands=
[testenv:coverage-report]
commands =
coverage report -m
coverage html
coverage html