From 761922480973951882f6f7a657b76503e8c676cb Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Thu, 21 Jun 2018 21:29:11 +0200 Subject: [PATCH 1/3] Removed `travis_fold` test --- scripts/travis-offline | 4 ---- scripts/travis-online | 4 ---- 2 files changed, 8 deletions(-) diff --git a/scripts/travis-offline b/scripts/travis-offline index e0c4f5a..754413a 100755 --- a/scripts/travis-offline +++ b/scripts/travis-offline @@ -2,8 +2,4 @@ set -ex -echo travis_fold:start:pytest - python -m pytest -m offline - -echo travis_fold:end:pytest diff --git a/scripts/travis-online b/scripts/travis-online index f15f82a..eb30852 100755 --- a/scripts/travis-online +++ b/scripts/travis-online @@ -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 From 6c00724a84024496e28e445c1cb876e3c8012fa7 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Thu, 21 Jun 2018 21:30:58 +0200 Subject: [PATCH 2/3] Removed unnecessary env --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 485809f..6e2c1df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 From b63a0dfa01c38008c4190a394d32cbddf1a7707d Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Thu, 21 Jun 2018 21:38:52 +0200 Subject: [PATCH 3/3] Made the offline tests colorful ;) --- scripts/travis-offline | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/travis-offline b/scripts/travis-offline index 754413a..c0c4714 100755 --- a/scripts/travis-offline +++ b/scripts/travis-offline @@ -2,4 +2,4 @@ set -ex -python -m pytest -m offline +python -m pytest -m offline --color=yes