mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 19:00:07 +02:00
.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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user