parent
0722b95e53
commit
73f37d0989
25
.travis.yml
25
.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:
|
||||
|
|
12
tox.ini
12
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
|
||||
|
|
Loading…
Reference in New Issue