From af22409059e0cb420628c3f97a0f9945d37ea087 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Wed, 10 Apr 2013 17:08:20 +0200 Subject: [PATCH] Separate tox env for coverage check --- .travis.yml | 3 ++- tox.ini | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8c29ecb1..333bcc1b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,9 @@ env: - TOXENV=py27 - TOXENV=py32 - TOXENV=py33 + - TOXENV=cov install: - pip install --quiet --use-mirrors tox coveralls script: - tox - - if [ $TOXENV == "py33" ]; then coveralls; fi + - if [ $TOXENV == "cov" ]; then coveralls; fi diff --git a/tox.ini b/tox.ini index c6bf7e98..205c8594 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ envlist = py25, py26, py27, py32, py33 deps = pytest commands = - py.test jedi + py.test [] [testenv:py25] deps = simplejson @@ -14,8 +14,9 @@ deps = deps = unittest2 {[testenv]deps} -[testenv:py33] +[testenv:cov] deps = pytest-cov + {[testenv]deps} commands = - py.test --cov jedi + py.test --cov jedi []