From 2636fd7f4f27104cb30a5bc34d23ce34e0e674d2 Mon Sep 17 00:00:00 2001 From: Min RK Date: Wed, 16 Mar 2016 12:10:13 +0100 Subject: [PATCH] retry js tests on travis This is a lazy thing to do because intermittently failing tests are often actual bugs (usually in the tests themselves). But if we are just going to kick Travis to re-run when this happens, we might as well let Travis do it automatically. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4757d63d3..fad8af7b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ install: - pip install -f travis-wheels/wheelhouse file://$PWD#egg=notebook[test] script: - - 'if [[ $GROUP == js* ]]; then python -m notebook.jstest ${GROUP:3}; fi' + - 'if [[ $GROUP == js* ]]; then travis_retry python -m notebook.jstest ${GROUP:3}; fi' - 'if [[ $GROUP == python ]]; then nosetests -v --with-coverage --cover-package=notebook notebook; fi' matrix: