Merge branch 'test_travis_config'

This commit is contained in:
Mads Marquart
2018-06-21 21:42:54 +02:00
3 changed files with 1 additions and 10 deletions

View File

@@ -55,7 +55,6 @@ jobs:
if: not ((branch = master OR tag IS present) AND type != pull_request)
stage: offline tests
script: scripts/travis-offline
env: PYTEST_ADDOPTS='-m offline'
# Run offline tests in all the supported python versions
python: 2.7

View File

@@ -2,8 +2,4 @@
set -ex
echo travis_fold:start:pytest
python -m pytest -m offline
echo travis_fold:end:pytest
python -m pytest -m offline --color=yes

View File

@@ -2,11 +2,7 @@
set -ex
echo travis_fold:start:pytest
if ! python -m pytest --tb=no --color=yes; then # --tb=no -> Don't print stack traces
echo 'Some tests failed. Rerunning them, since they can be kinda flaky.'
python -m pytest --last-failed --color=yes
fi
echo travis_fold:end:pytest