.travis.yml:have one test (gcc 6) use only embedded libs (#278)

* .travis:add test for option FORCE_EMBEDDED_LIBS

the gcc version 6 build will use embedded libs
This commit is contained in:
Andy Alt
2018-10-07 23:46:12 -05:00
committed by GitHub
parent 8dc3ead522
commit 57c6cc1cdd

View File

@@ -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: