Skip to content

Commit

Permalink
Fix: xvfb starts server with 8bpp, unsupported by GLX
Browse files Browse the repository at this point in the history
  • Loading branch information
lonemadmax committed Feb 18, 2020
1 parent 3070d7e commit 00ee25f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/travis-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ echo "============================================"
echo "Start testing of Freeciv-web using CasperJS:"
cd ${basedir}/tests/

xvfb-run casperjs --engine=phantomjs test freeciv-web-tests.js || { >&2 echo "Freeciv-web CasperJS tests failed with exit code ${?}!" && exit 1; }
xvfb-run --server-args="-screen 0 800x600x24" casperjs --engine=phantomjs test freeciv-web-tests.js || { >&2 echo "Freeciv-web CasperJS tests failed with exit code ${?}!" && exit 1; }

echo "Running Freeciv-web server in autogame mode."
cp ${basedir}/publite2/pubscript_autogame.serv ${basedir}/publite2/pubscript_singleplayer.serv
killall freeciv-web
sleep 20
xvfb-run casperjs --engine=phantomjs test freeciv-web-autogame.js || { >&2 echo "Freeciv-web CasperJS autogame tests failed with exit code ${?}!" && exit 1; }
xvfb-run --server-args="-screen 0 800x600x24" casperjs --engine=phantomjs test freeciv-web-autogame.js || { >&2 echo "Freeciv-web CasperJS autogame tests failed with exit code ${?}!" && exit 1; }

echo "running pbem unit tests."
cd ${basedir}/pbem
Expand Down

0 comments on commit 00ee25f

Please sign in to comment.