From c8d7252b13bdb33f09919ad282c231f4056abe05 Mon Sep 17 00:00:00 2001 From: Mike Samuel Date: Tue, 9 Oct 2018 09:12:07 -0400 Subject: [PATCH] Use travis_retry to avoid test nondterminism. The end to end tests depend on a database, which means that there's a big source of nondeterminism. Even so, there's some problem with the test framework which makes it much less deterministic on Travis than locally. I can't log into a Travis server to diagnose there, so I'm papering over this problem by using travis_retry as doced at: docs.travis-ci.com/user/common-build-problems/#timeouts-installing-dependencies --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cb0cce1..c250597 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,5 +11,5 @@ sudo: false addons: postgresql: "9.6" -script: ./scripts/validate.sh -after_success: npm run coveralls +script: travis_retry ./scripts/validate.sh +after_success: travis_retry npm run coveralls