From c1d6127e644eda4d2116ad61792cd29318a300c2 Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Wed, 18 Mar 2015 00:38:54 +0200 Subject: [PATCH] updating tox and travis configs --- .travis.yml | 3 +-- tox.ini | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 98156562..b1afbba0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,8 @@ language: python install: - "pip install ." - - "pip install -r requirements-tests.txt" + - "pip install tox" script: - tox - - coveralls env: - TOXENV=py27 diff --git a/tox.ini b/tox.ini index 1fa21b6a..2f7e4741 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,15 @@ [tox] envlist = py27 -[py27] -basepython = python2.7 -commands = coverage run --rcfile=./.coveragerc unit2 discover +[testenv] +deps= + unittest2 + coverage + coveralls + +[testenv:py27] +commands= + coverage erase + coverage run --rcfile=./.coveragerc -m unittest2 discover tests [] + coveralls + coverage erase