]> source.dussan.org Git - sonarqube.git/commitdiff
Fix travis.sh script
authorDavid Gageot <david@gageot.net>
Thu, 9 Jul 2015 09:09:05 +0000 (11:09 +0200)
committerDavid Gageot <david@gageot.net>
Thu, 9 Jul 2015 09:09:05 +0000 (11:09 +0200)
Don't use travis-utils to start xvfb

travis.sh

index b1493f95509e07bfe2349b5762910ffd69e682f5..cb295557bbc54c91c76746c8ca583fbc4f39095a 100755 (executable)
--- a/travis.sh
+++ b/travis.sh
@@ -32,7 +32,8 @@ MYSQL)
   ;;
 
 WEB)
-  travis_start_xvfb
+  export DISPLAY=:99.0
+  /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16
   wget http://selenium-release.storage.googleapis.com/2.46/selenium-server-standalone-2.46.0.jar
   nohup java -jar selenium-server-standalone-2.46.0.jar &
   sleep 3