diff --git a/.travis.yml b/.travis.yml index 121007f9a..9a91b0d97 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,7 +59,8 @@ before_install: script: # ALL THE BUILD COMMANDS HERE - - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$(echo "$CC" | grep 'clang')" = "" ]; then +# version 6 skipped here. Below, it's used to test use of FORCE_EMBEDDED_LIBS option + - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$(echo "$CC" | grep 'clang')" = "" ] && [ $Tr_Compiler_Version != "6" ]; then mkdir build; cd build; cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/local -DBUILD_ZETAGLEST_TESTS=ON; @@ -79,6 +80,12 @@ script: echo 'Dependencies:'; otool -L zetaglest; fi + - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$(echo "$CC" | grep 'clang')" = "" ] && [ $Tr_Compiler_Version = "6" ]; then + mkdir build; + cd build; + cmake .. -DFORCE_EMBEDDED_LIBS=ON -DCMAKE_INSTALL_PREFIX=$PWD/local -DBUILD_ZETAGLEST_TESTS=ON; + make && make install; + fi # https://docs.travis-ci.com/user/notifications/#IRC-notification notifications: