Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit e176e36

Browse files
committed
Disable coverage testing on PyPy
1 parent 0b713ef commit e176e36

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.travis.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,10 @@ install:
88
- "pip install ."
99
- "pip install -r test_requirements.txt"
1010
script:
11-
- "py.test -n 4 --cov hyper test/ && coverage report -m --fail-under 100"
11+
- >
12+
if [[ $TRAVIS_PYTHON_VERSION == pypy ]]; then
13+
py.test test/
14+
else
15+
py.test -n 4 --cov hyper test/
16+
coverage report -m --fail-under 100
17+
fi

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ publish:
88
python setup.py bdist_wheel upload
99

1010
test:
11-
py.test -n 4 --cov hyper test/
11+
py.test -n 4 hyper test/

tox.ini

+4
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ envlist = py27, py33, py34, pypy
44
[testenv]
55
deps= -r{toxinidir}/test_requirements.txt
66
commands= py.test -n 4 --cov hyper {toxinidir}/test/
7+
8+
[testenv:pypy]
9+
# temporarily disable coverage testing on PyPy due to performance problems
10+
commands= py.test -n 4 hyper {toxinidir}/test/

0 commit comments

Comments
 (0)