# HG changeset patch # User Chocobo1 # Date 1452490301 -28800 # Node ID cb0806413220df12b64717b0fbcc405a5d192272 # Parent 5b7cc2230de735372b6a2228920e0b8cdfba9fb1 TravisCI: fix linux + clang compile diff -r 5b7cc2230de7 -r cb0806413220 .travis.yml --- a/.travis.yml Tue Jan 05 15:27:18 2016 +0800 +++ b/.travis.yml Mon Jan 11 13:31:41 2016 +0800 @@ -36,6 +36,9 @@ - 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