split travis jobs

Conflicts:
	README.rst
This commit is contained in:
Anatoly Bubenkov 2015-06-16 00:40:49 +02:00 committed by Bruno Oliveira
parent 0722b95e53
commit 73f37d0989
2 changed files with 35 additions and 2 deletions

View File

@ -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:

12
tox.ini
View File

@ -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