Commit 4e6260d4 authored by Denis Bilenko's avatar Denis Bilenko

travis/pypy: set NWORKERS=4

parent 169e9fc2
......@@ -5,7 +5,7 @@ python:
- "3.3"
- "pypy"
script:
- if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then PYTHON=pypy make travis_pypy; fi
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then PYTHON=python$TRAVIS_PYTHON_VERSION make travis_cpython; fi
- if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then NWORKERS=4 PYTHON=pypy make travis_pypy; fi
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then NWORKERS=4 PYTHON=python$TRAVIS_PYTHON_VERSION make travis_cpython; fi
notifications:
email: false
......@@ -63,7 +63,7 @@ travis_pypy:
which ${PYTHON}
${PYTHON} --version
${PYTHON} setup.py install
NWORKERS=1 cd greentest && ${PYTHON} testrunner.py --config ../known_failures.py
cd greentest && ${PYTHON} testrunner.py --config ../known_failures.py
travis_cpython:
make whitespace
......
......@@ -14,7 +14,7 @@ from util import log
TIMEOUT = 180
NWORKERS = int(os.environ.get('NWORKERS') or 8)
NWORKERS = int(os.environ.get('NWORKERS') or 4)
def run_many(tests, expected=None, failfast=False):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment