From 29a4c4dd40052bee47dc6232e938de38ff4f0346 Mon Sep 17 00:00:00 2001 From: Matthew Mulholland Date: Thu, 5 Jul 2018 15:39:52 +1000 Subject: [PATCH] Moved xvfb command to travis as not recognised within bash shell. --- .travis.yml | 2 +- travis_script.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 677d541cf..3ca8a7f5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ install: - source ~/.bashrc - yarn script: -- ./travis_script.sh +- xvfb-run ./travis_script.sh branches: only: - "/^v\\d+\\.\\d+(\\.\\d+)?(-\\S*)?$/" diff --git a/travis_script.sh b/travis_script.sh index e616eee44..95273f16e 100755 --- a/travis_script.sh +++ b/travis_script.sh @@ -5,7 +5,7 @@ shell_session_update() { :; } if [ "${TRAVIS_BRANCH}" = "ci" ]; then yarn run unit yarn run unit:coverage - xvfb-run yarn run e2e + yarn run e2e else yarn run release:predraft fi