summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorChocobo1 <Chocobo1@users.noreply.github.com>2016-01-11 13:31:41 +0800
committerChocobo1 <Chocobo1@users.noreply.github.com>2016-01-11 13:33:00 +0800
commit3360072f84625a6bae6fd55a2da7402ab5f2c013 (patch)
treeca569d604a6ac69c60993fe9ce2051f029353844 /.travis.yml
parent0ba59d80b6d9ef680175dcb5f202982d3db9fef9 (diff)
TravisCI: fix linux + clang compile
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 0c97752..b84b84a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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