diff .travis.yml @ 1245:cb0806413220

TravisCI: fix linux + clang compile
author Chocobo1 <Chocobo1@users.noreply.github.com>
date Mon, 11 Jan 2016 13:31:41 +0800
parents 5b7cc2230de7
children 506f7681d0f8 71698088bdac
line wrap: on
line diff
--- 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