Skip to content

Commit

Permalink
Moved xvfb command to travis as not recognised within bash shell.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Mulholland committed Jul 5, 2018
1 parent 01f1058 commit 29a4c4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ install:
- source ~/.bashrc
- yarn
script:
- ./travis_script.sh
- xvfb-run ./travis_script.sh
branches:
only:
- "/^v\\d+\\.\\d+(\\.\\d+)?(-\\S*)?$/"
Expand Down
2 changes: 1 addition & 1 deletion travis_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 29a4c4d

Please sign in to comment.