|
|
@ -81,7 +81,10 @@ before_install: |
|
|
|
if [ "$TRAVIS_OS_NAME" = "linux" ]; then |
|
|
|
if [ "$TRAVIS_OS_NAME" = "linux" ]; then |
|
|
|
# setup virtual display for after_success target |
|
|
|
# setup virtual display for after_success target |
|
|
|
if [ "$gui" = "true" ]; then export "DISPLAY=:99.0" && /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 ; fi ; |
|
|
|
if [ "$gui" = "true" ]; then export "DISPLAY=:99.0" && /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 ; fi ; |
|
|
|
|
|
|
|
# CMake from Kitware is installed in /usr/bin |
|
|
|
|
|
|
|
# TravisCI installs its own cmake to another location which ovverides other installations |
|
|
|
|
|
|
|
# if they don't call the new binary directly |
|
|
|
|
|
|
|
alias cmake="/usr/bin/cmake" |
|
|
|
fi |
|
|
|
fi |
|
|
|
- | |
|
|
|
- | |
|
|
|
if [ "$TRAVIS_OS_NAME" = "osx" ]; then |
|
|
|
if [ "$TRAVIS_OS_NAME" = "osx" ]; then |
|
|
@ -111,6 +114,7 @@ install: |
|
|
|
PATH="/usr/local/opt/ccache/libexec:$PATH" |
|
|
|
PATH="/usr/local/opt/ccache/libexec:$PATH" |
|
|
|
|
|
|
|
|
|
|
|
brew update > /dev/null |
|
|
|
brew update > /dev/null |
|
|
|
|
|
|
|
brew upgrade cmake |
|
|
|
brew install ccache colormake boost openssl qt zlib |
|
|
|
brew install ccache colormake boost openssl qt zlib |
|
|
|
brew link --force qt zlib |
|
|
|
brew link --force qt zlib |
|
|
|
|
|
|
|
|
|
|
|