mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 19:29:47 +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:
|
script:
|
||||||
# ALL THE BUILD COMMANDS HERE
|
# 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;
|
mkdir build;
|
||||||
cd build;
|
cd build;
|
||||||
cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/local -DBUILD_ZETAGLEST_TESTS=ON;
|
cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/local -DBUILD_ZETAGLEST_TESTS=ON;
|
||||||
@@ -79,6 +80,12 @@ script:
|
|||||||
echo 'Dependencies:';
|
echo 'Dependencies:';
|
||||||
otool -L zetaglest;
|
otool -L zetaglest;
|
||||||
fi
|
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
|
# https://docs.travis-ci.com/user/notifications/#IRC-notification
|
||||||
notifications:
|
notifications:
|
||||||
|
Reference in New Issue
Block a user