From 1dfb265349ec95480c91bd61e16d08f976674b87 Mon Sep 17 00:00:00 2001 From: Isaiah Odhner Date: Wed, 29 Apr 2020 01:48:38 -0400 Subject: [PATCH] Try to make Travis CI tests more reliable --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 63e7fe1..8f1b6cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,5 +15,8 @@ cache: - ~/.cache install: - npm ci +before_script: + - npm run test:start-server & + - sleep 3 # hopefully the server will be listening by then script: - - npm run lint && npm run test + - npm run lint && npm run cy:run