From 9e30f3bb99f6f833b0afe7d3513bc3dc4498cd74 Mon Sep 17 00:00:00 2001 From: Jocelyn Delalande Date: Tue, 28 Mar 2017 20:04:57 +0200 Subject: [PATCH] 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. --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index e0b809a5..8536228e 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