File tree 3 files changed +37
-2
lines changed
3 files changed +37
-2
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
# command to install dependencies
3
- install : " pip install -U detox "
3
+ install : " pip install -U tox "
4
4
# # command to run tests
5
- script : detox --recreate -i ALL=https://devpi.net/hpk/dev/
5
+ env :
6
+ matrix :
7
+ - TESTENV=flakes
8
+ - TESTENV=py26
9
+ - TESTENV=py27
10
+ - TESTENV=py34
11
+ - TESTENV=pypy
12
+ - TESTENV=py27-pexpect
13
+ - TESTENV=py33-pexpect
14
+ - TESTENV=py27-nobyte
15
+ - TESTENV=py33
16
+ - TESTENV=py27-xdist
17
+ - TESTENV=py33-xdist
18
+ - TESTENV=py27
19
+ - TESTENV=py27-trial
20
+ - TESTENV=py33
21
+ - TESTENV=py33-trial
22
+ - TESTENV=py27-subprocess
23
+ - TESTENV=doctesting
24
+ - TESTENV=py27-cxfreeze
25
+ - TESTENV=coveralls
26
+ script : tox --recreate -i ALL=https://devpi.net/hpk/dev/ -e $TESTENV
6
27
7
28
notifications :
8
29
irc :
Original file line number Diff line number Diff line change 5
5
The ``pytest `` testing tool makes it easy to write small tests, yet
6
6
scales to support complex functional testing.
7
7
8
+ .. image :: https://coveralls.io/repos/pytest-dev/pytest/badge.png?branch=master
9
+ :target: https://coveralls.io/r/pytest-dev/pytest
8
10
.. image :: https://pypip.in/v/pytest/badge.png
9
11
:target: https://pypi.python.org/pypi/pytest
10
12
Original file line number Diff line number Diff line change @@ -141,6 +141,18 @@ commands=
141
141
{envpython} runtests_setup.py build --build-exe build
142
142
{envpython} tox_run.py
143
143
144
+ [testenv:coveralls]
145
+ changedir =testing
146
+ basepython =python3.4
147
+ deps =
148
+ {[testenv]deps}
149
+ coveralls
150
+ commands =
151
+ coverage run --source =_pytest {envdir}/bin/py.test
152
+ coverage report -m
153
+ coveralls
154
+ passenv =COVERALLS_REPO_TOKEN
155
+
144
156
[pytest]
145
157
minversion =2.0
146
158
plugins =pytester
You can’t perform that action at this time.
0 commit comments