mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-02 03:10:42 +08:00
use xvfb-run instead of starting it by hand
This commit is contained in:
parent
9dcaaf8ef8
commit
2861c8aa08
@ -1,14 +1,12 @@
|
||||
language: generic
|
||||
before_install:
|
||||
- sh package/linux/travis-decrypt-key
|
||||
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ( sudo Xvfb :99 -ac -screen 0 1024x768x8; echo ok )& fi
|
||||
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then sh -e /etc/init.d/xvfb start; fi
|
||||
script:
|
||||
- bash package/linux/travis-setup.sh
|
||||
- mkdir build && cd build
|
||||
- cmake -DBOOST_ROOT=$BOOST_DIR -DSLIC3R_STATIC=ON ../src
|
||||
- cmake --build .
|
||||
- ctest .
|
||||
- xvfb-run ctest .
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
Loading…
x
Reference in New Issue
Block a user