aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-07-12 00:45:08 +0200
committerRenaud G <renaud@rolisteam.org>2019-07-12 00:45:08 +0200
commit374d794b0f232274030a66c820d7a23ab85c4800 (patch)
treefb44f33d5b26aabac498676d0729cda26cd26b25
parentb0744a9f2c682be4f9d3eb5f0b5c662415ab871b (diff)
downloadOneRoll-374d794b0f232274030a66c820d7a23ab85c4800.tar.gz
OneRoll-374d794b0f232274030a66c820d7a23ab85c4800.zip
fix ci
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 0d6f88f..11167ce 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,6 +14,8 @@ matrix:
osx_image: xcode10
before_install:
- brew update
+ before_script:
+ - sudo Xvfb :99 -ac -screen 0 1024x768x8 &
install:
- brew install cppcheck
- brew install qt5
@@ -25,5 +27,6 @@ matrix:
script:
- mkdir -p build
- pushd build
- - cmake ../ && make -j4 && env CTEST_OUTPUT_ON_FAILURE=1 make test
+ - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then (cmake ../ && make -j4 && xvfb-run env CTEST_OUTPUT_ON_FAILURE=1 make test) fi
+ - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then (cmake ../ && make -j4 && env CTEST_OUTPUT_ON_FAILURE=1 make test) fi
- popd