Test GUI functions on osx travis until I figure out what is up with linux. Run TestSlic3r on both.

This commit is contained in:
Joseph Lenox 2018-06-21 23:41:27 -05:00 committed by Joseph Lenox
parent 2861c8aa08
commit 870c06e53c

View File

@ -1,12 +1,14 @@
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
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 .
- xvfb-run ctest . - ctest . -R TestSlic3r
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ctest . -R TestGUI; fi
branches: branches:
only: only:
- master - master