Skip to content

Commit

Permalink
travis: move xvfb start as it was before
Browse files Browse the repository at this point in the history
  • Loading branch information
mcallegari committed Apr 11, 2021
1 parent 53340c9 commit 47a304d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .travis-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ else
sudo ln -s /usr/bin/g++-7 /usr/bin/g++
export CXX="g++-7" CC="gcc-7"
fi

# Start xvfb so UI tests don't fail
export DISPLAY=:99.0
sudo /etc/init.d/xvfb start
fi

if [ "$TASK" = "coverage" ]; then
Expand Down
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,10 @@ matrix:
cache:
apt: true

before_install:
# Start xvfb so UI tests don't fail
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"

after_success:
- if [ "$TASK" = "coverage" ]; then coveralls-lcov --repo-token ${COVERALLS_TOKEN} coverage/coverage.info; fi

0 comments on commit 47a304d

Please sign in to comment.