mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-02 14:10:37 +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
|
language: generic
|
||||||
before_install:
|
before_install:
|
||||||
- sh package/linux/travis-decrypt-key
|
- 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:
|
script:
|
||||||
- bash package/linux/travis-setup.sh
|
- bash package/linux/travis-setup.sh
|
||||||
- mkdir build && cd build
|
- mkdir build && cd build
|
||||||
- cmake -DBOOST_ROOT=$BOOST_DIR -DSLIC3R_STATIC=ON ../src
|
- cmake -DBOOST_ROOT=$BOOST_DIR -DSLIC3R_STATIC=ON ../src
|
||||||
- cmake --build .
|
- cmake --build .
|
||||||
- ctest .
|
- xvfb-run ctest .
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
Loading…
x
Reference in New Issue
Block a user