Use xvfb on travis

As instructed on http://docs.travis-ci.com/user/gui-and-headless-browsers/
This commit is contained in:
Alexander van Gessel 2014-05-19 02:32:20 +02:00
parent 1fc27bb9e7
commit c3c2b25a82

View file

@ -7,6 +7,8 @@ install:
- sudo apt-get install -qq libboost-iostreams-dev libboost-program-options-dev libboost-regex-dev libboost-system-dev libboost-test-dev libcairo2-dev libfribidi-dev libpango1.0-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
script: scons cxxtool=$CXX strict=True wesnoth wesnothd campaignd test
after_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- ./test
- ./run_wml_tests -u -v
notifications: