Make travis use tox

So that we are consistent between dev test env and CI test env.
The use of `TOXENV` is to keep travis running the several envs in parallel.
This commit is contained in:
Jocelyn Delalande 2017-03-28 20:04:57 +02:00
parent 42c9af528f
commit 9e30f3bb99

View file

@ -1,8 +1,8 @@
language: python language: python
python: script: tox
- "2.7" install:
- "3.5" - pip install tox
# command to install dependencies env:
install: "pip install -r requirements.txt" - TOXENV=py27
# command to run tests - TOXENV=py35
script: cd budget && python tests.py - TOXENV=docs