Skip to content

Commit

Permalink
Start xvfb for tests with vizualization.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcCote committed Feb 13, 2020
1 parent 8bce5e0 commit d99df57
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,10 @@ matrix:
install:
- ./.travis/setup.sh

before_script:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ( sh -e /etc/init.d/xvfb start ) & fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ( sudo Xvfb :99 -ac -screen 0 1024x768x8; echo ok ) & fi
- sleep 3 # give xvfb some time to start

script:
- ./.travis/test.sh

0 comments on commit d99df57

Please sign in to comment.