Skip to content

Commit 8a11969

Browse files
committed
Update travis script
1 parent 802d464 commit 8a11969

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ os:
88
- linux
99

1010
before_install:
11-
- if [ $TRAVIS_OS_NAME == "linux" ]; then
12-
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
13-
sh -e /etc/init.d/xvfb start;
14-
sleep 3;
11+
- |
12+
if [ $TRAVIS_OS_NAME == "linux" ]; then
13+
export DISPLAY=':99.0'
14+
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
1515
fi
1616
1717
install:

0 commit comments

Comments
 (0)