Use xvfb on travis
As instructed on http://docs.travis-ci.com/user/gui-and-headless-browsers/
This commit is contained in:
parent
1fc27bb9e7
commit
c3c2b25a82
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue