From 73f37d098983bec9de7be7c75827840bab6bf24c Mon Sep 17 00:00:00 2001 From: Anatoly Bubenkov Date: Tue, 16 Jun 2015 00:40:49 +0200 Subject: [PATCH] split travis jobs Conflicts: README.rst --- .travis.yml | 25 +++++++++++++++++++++++-- tox.ini | 12 ++++++++++++ 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0c6e61bc9..175bd0222 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,30 @@ sudo: false language: python # command to install dependencies -install: "pip install -U detox" +install: "pip install -U tox" # # command to run tests -script: detox --recreate -i ALL=https://devpi.net/hpk/dev/ +env: + matrix: + - TESTENV=flakes + - TESTENV=py26 + - TESTENV=py27 + - TESTENV=py34 + - TESTENV=pypy + - TESTENV=py27-pexpect + - TESTENV=py33-pexpect + - TESTENV=py27-nobyte + - TESTENV=py33 + - TESTENV=py27-xdist + - TESTENV=py33-xdist + - TESTENV=py27 + - TESTENV=py27-trial + - TESTENV=py33 + - TESTENV=py33-trial + - TESTENV=py27-subprocess + - TESTENV=doctesting + - TESTENV=py27-cxfreeze + - TESTENV=coveralls +script: tox --recreate -i ALL=https://devpi.net/hpk/dev/ -e $TESTENV notifications: irc: diff --git a/tox.ini b/tox.ini index 9f683c46f..0e315c03b 100644 --- a/tox.ini +++ b/tox.ini @@ -132,6 +132,18 @@ commands= {envpython} runtests_setup.py build --build-exe build {envpython} tox_run.py +[testenv:coveralls] +changedir=testing +basepython=python3.4 +deps = + {[testenv]deps} + coveralls +commands= + coverage run --source=_pytest {envdir}/bin/py.test + coverage report -m + coveralls +passenv=COVERALLS_REPO_TOKEN + [pytest] minversion=2.0 plugins=pytester