Skip to content

Commit

Permalink
Merge pull request #784 from pv/no-conda-parallel
Browse files Browse the repository at this point in the history
CI: conda does not seem to tolerate parallel runs -- disable them
  • Loading branch information
pv authored Jan 1, 2019
2 parents 9cc2d5d + 99e9d41 commit 954ed0b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ install:
- $TRAVIS_PYTHON setup.py build_ext -i

script:
- $TRAVIS_PYTHON -m pytest -l $COVERAGE -vv --webdriver=FirefoxHeadless -n 3 test
- if [[ $USE_CONDA == true ]]; then PYTEST_PARALLEL=""; else PYTEST_PARALLEL="-n 3"; fi
- $TRAVIS_PYTHON -m pytest -l $COVERAGE $PYTEST_PARALLEL -vv --webdriver=FirefoxHeadless test

after_script:
- if [[ "$COVERAGE" != '' ]]; then
Expand Down
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ environment:
- PYTHON_VERSION: "3.7"
platform: x64
PYTHON_ARCH: "64"
- PYTHON_VERSION: "2.7"
platform: x86
PYTHON_ARCH: "32"
#- PYTHON_VERSION: "2.7"
# platform: x86
# PYTHON_ARCH: "32"

cache:
- '%LOCALAPPDATA%\pip\Cache'
Expand Down Expand Up @@ -58,7 +58,7 @@ install:
build: false

test_script:
- "python -m pytest -l --basetemp=%APPVEYOR_BUILD_FOLDER%\\tmp -vv -n 3 --webdriver=FirefoxHeadless test"
- "python -m pytest -l --basetemp=%APPVEYOR_BUILD_FOLDER%\\tmp -vv --webdriver=FirefoxHeadless test"

after_build:
# Clear up pip cache
Expand Down
3 changes: 2 additions & 1 deletion test/test_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,4 +312,5 @@ def test_asv_benchmark_timings():
# Check the benchmark runner runs
util.check_call([sys.executable, '-masv.benchmark', 'timing',
'--setup=import time',
'time.sleep(0)'])
'time.sleep(0)'],
cwd=os.path.join(os.path.dirname(__file__), '..'))

0 comments on commit 954ed0b

Please sign in to comment.