Merge branch 'test_travis_config'
This commit is contained in:
@@ -55,7 +55,6 @@ jobs:
|
|||||||
if: not ((branch = master OR tag IS present) AND type != pull_request)
|
if: not ((branch = master OR tag IS present) AND type != pull_request)
|
||||||
stage: offline tests
|
stage: offline tests
|
||||||
script: scripts/travis-offline
|
script: scripts/travis-offline
|
||||||
env: PYTEST_ADDOPTS='-m offline'
|
|
||||||
|
|
||||||
# Run offline tests in all the supported python versions
|
# Run offline tests in all the supported python versions
|
||||||
python: 2.7
|
python: 2.7
|
||||||
|
@@ -2,8 +2,4 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
echo travis_fold:start:pytest
|
python -m pytest -m offline --color=yes
|
||||||
|
|
||||||
python -m pytest -m offline
|
|
||||||
|
|
||||||
echo travis_fold:end:pytest
|
|
||||||
|
@@ -2,11 +2,7 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
echo travis_fold:start:pytest
|
|
||||||
|
|
||||||
if ! python -m pytest --tb=no --color=yes; then # --tb=no -> Don't print stack traces
|
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.'
|
echo 'Some tests failed. Rerunning them, since they can be kinda flaky.'
|
||||||
python -m pytest --last-failed --color=yes
|
python -m pytest --last-failed --color=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo travis_fold:end:pytest
|
|
||||||
|
Reference in New Issue
Block a user