travis.yml:add test for embedded libs with gcc6 (#217)

* travis.yml:add test for embedded libs with gcc6
This commit is contained in:
Andy Alt
2018-09-11 14:58:02 -05:00
committed by GitHub
parent 7b7c29173d
commit 3f2cb5e6dd

View File

@@ -57,7 +57,9 @@ before_install:
script:
# ALL THE BUILD COMMANDS HERE
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$(echo "$CC" | grep 'clang')" = "" ]; then mk/linux/build-zg.sh; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$(echo "$CC" | grep 'clang')" = "" ] && [ "$Tr_Compiler_Version" != "6" ]; then mk/linux/build-zg.sh; fi
# use gcc 6 to test build using embedded libs, add -z option
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$(echo "$CC" | grep 'clang')" = "" ] && [ "$Tr_Compiler_Version" = "6" ]; then mk/linux/build-zg.sh -e; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$(echo "$CC" | grep 'clang')" != "" ]; then mk/linux/build-zg.sh -w; fi
# ^ -w may be removed on more modern dist: than trusty, problems related with 'new wx+clang+old gcc'
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then mk/macos/build-zg.sh; fi