Skip to content

Commit 088ead2

Browse files
committed
Merge pull request #772 from bubenkoff/split-travis-jobs
split travis jobs
2 parents d4e77fa + f2494ec commit 088ead2

File tree

3 files changed

+37
-2
lines changed

3 files changed

+37
-2
lines changed

.travis.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,29 @@
11
language: python
22
# command to install dependencies
3-
install: "pip install -U detox"
3+
install: "pip install -U tox"
44
# # 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
627

728
notifications:
829
irc:

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ pytest
55
The ``pytest`` testing tool makes it easy to write small tests, yet
66
scales to support complex functional testing.
77

8+
.. image:: https://coveralls.io/repos/pytest-dev/pytest/badge.png?branch=master
9+
:target: https://coveralls.io/r/pytest-dev/pytest
810
.. image:: https://pypip.in/v/pytest/badge.png
911
:target: https://pypi.python.org/pypi/pytest
1012

tox.ini

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,18 @@ commands=
141141
{envpython} runtests_setup.py build --build-exe build
142142
{envpython} tox_run.py
143143

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+
144156
[pytest]
145157
minversion=2.0
146158
plugins=pytester

0 commit comments

Comments
 (0)