Update TravisCI config to use Tox

This commit replaces Coveralls config with cmd args. This is in order to
remove PyYAML from TravisCI dependencies, which breaks under
Python3.7-dev.
This commit is contained in:
Iwo Herka 2018-06-08 17:34:29 +02:00
parent 382a026511
commit 1cdd94fb97
3 changed files with 14 additions and 7 deletions

View file

@ -1 +0,0 @@
repo_token: 71NkMDQFpFKB9QYXoK12LYuWUEmQ2wD6V

View file

@ -1,14 +1,22 @@
language: python
python:
- "3.6.5"
matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7-dev
env: TOXENV=py37
install:
- pip install -r requirements.txt
- pip install tox==3.0.0
- pip install coveralls==1.3.0
- pip install pyyaml==3.12
- pip install coverage==4.5.1
before_script:
- coverage erase
script:
- coverage run --source=eav runtests
- coverage run --source=eav runtests; tox
after_success:
- coveralls
- COVERALLS_REPO_TOKEN=71NkMDQFpFKB9QYXoK12LYuWUEmQ2wD6V coveralls

View file

@ -1 +1 @@
Django>=1.11.14
Django>=1.11