TravisCI: fix linux + clang compile

This commit is contained in:
Chocobo1 2016-01-11 13:31:41 +08:00
parent 0ba59d80b6
commit 3360072f84

View File

@ -36,6 +36,9 @@ addons:
- libtommath-dev
before_install:
- if [ "$CC" = "clang" ]; then WEXTRAFLAGS="$WEXTRAFLAGS -Wno-error=incompatible-library-redeclaration" ; fi # workaround
install:
- if [ "$TRAVIS_OS_NAME" = "osx" -a "$BUNDLEDLIBTOM" != "--enable-bundled-libtom" ]; then brew update > /dev/null && brew install libtomcrypt libtommath ; fi