From 7b4b9879d35c0466134a3c69318e2a19cf45c599 Mon Sep 17 00:00:00 2001 From: Silvano Luciani Date: Thu, 2 Oct 2014 14:03:04 -0700 Subject: [PATCH] build: use tox and publish coverage report to coveralls.io --- .travis.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index f6da14e67f15..745794152942 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,12 @@ language: python -python: - - "2.6" - - "2.7" # command to install dependencies -install: "pip install . unittest2" -# command to run tests -script: nosetests +install: + - pip install tox + - pip install coveralls +# run tests +script: + - tox -e py26 + - tox -e py27 +after_success: + - tox -e cover + - coveralls