comparison .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
comparison
equal deleted inserted replaced
1244:5b7cc2230de7 1245:cb0806413220
34 - zlib1g-dev 34 - zlib1g-dev
35 - libtomcrypt-dev 35 - libtomcrypt-dev
36 - libtommath-dev 36 - libtommath-dev
37 37
38 38
39 before_install:
40 - if [ "$CC" = "clang" ]; then WEXTRAFLAGS="$WEXTRAFLAGS -Wno-error=incompatible-library-redeclaration" ; fi # workaround
41
39 install: 42 install:
40 - if [ "$TRAVIS_OS_NAME" = "osx" -a "$BUNDLEDLIBTOM" != "--enable-bundled-libtom" ]; then brew update > /dev/null && brew install libtomcrypt libtommath ; fi 43 - if [ "$TRAVIS_OS_NAME" = "osx" -a "$BUNDLEDLIBTOM" != "--enable-bundled-libtom" ]; then brew update > /dev/null && brew install libtomcrypt libtommath ; fi
41 44
42 script: 45 script:
43 - autoconf && autoheader && ./configure "$BUNDLEDLIBTOM" CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS" --prefix="$HOME/inst" 46 - autoconf && autoheader && ./configure "$BUNDLEDLIBTOM" CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS" --prefix="$HOME/inst"