mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Test the collection of tests
This is to workaround pytest issues #149 / #180 where distributed testing doesn't error out if it fails to collect tests.
This commit is contained in:
parent
ed31b98c59
commit
8df86cac0b
2 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
- TOXENV=collect
|
||||||
- TOXENV=py26
|
- TOXENV=py26
|
||||||
- TOXENV=py27
|
- TOXENV=py27
|
||||||
- TOXENV=py32
|
- TOXENV=py32
|
||||||
|
|
6
tox.ini
6
tox.ini
|
@ -1,6 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
py26,py27,py32,py33,pypy
|
collect,py26,py27,py32,py33,pypy
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
|
@ -12,6 +12,10 @@ deps =
|
||||||
commands =
|
commands =
|
||||||
py.test -n 8
|
py.test -n 8
|
||||||
|
|
||||||
|
[testenv:collect]
|
||||||
|
commands =
|
||||||
|
py.test --collectonly
|
||||||
|
|
||||||
[testenv:py32]
|
[testenv:py32]
|
||||||
commands =
|
commands =
|
||||||
py.test
|
py.test
|
||||||
|
|
Loading…
Reference in a new issue