aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJocelyn Delalande <jocelyn@crapouillou.net>2017-03-28 20:04:57 +0200
committerJocelyn Delalande <jocelyn@crapouillou.net>2017-03-28 20:13:49 +0200
commit9e30f3bb99f6f833b0afe7d3513bc3dc4498cd74 (patch)
tree330598667099eb1ad3ae54b270d2fbb446716f31
parent42c9af528fc9779451c1ad7528648ab6f6e12193 (diff)
downloadihatemoney-mirror-9e30f3bb99f6f833b0afe7d3513bc3dc4498cd74.zip
ihatemoney-mirror-9e30f3bb99f6f833b0afe7d3513bc3dc4498cd74.tar.gz
ihatemoney-mirror-9e30f3bb99f6f833b0afe7d3513bc3dc4498cd74.tar.bz2
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.
-rw-r--r--.travis.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index e0b809a..8536228 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,8 @@
language: python
-python:
- - "2.7"
- - "3.5"
-# command to install dependencies
-install: "pip install -r requirements.txt"
-# command to run tests
-script: cd budget && python tests.py
+script: tox
+install:
+ - pip install tox
+env:
+ - TOXENV=py27
+ - TOXENV=py35
+ - TOXENV=docs