diff options
author | Chocobo1 <Chocobo1@users.noreply.github.com> | 2016-01-20 21:56:39 +0800 |
---|---|---|
committer | Chocobo1 <Chocobo1@users.noreply.github.com> | 2016-01-21 00:21:39 +0800 |
commit | 9b0a2714f026a4a6b6bd6d2b0b6b84f5b9ad75af (patch) | |
tree | cf7b20641221d6b2e7dafdb387fd84a15100253d /.travis.yml | |
parent | a84ce21aece29167f3312c127912404f6e486146 (diff) |
TravisCI: re-enable MULTI=1 & NOWRITEV=1 builds on OSX, fixes d416a9b
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index b84b84a..cb0149c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,10 +16,6 @@ matrix: exclude: - os: osx env: BUNDLEDLIBTOM=--disable-bundled-libtom WEXTRAFLAGS=-Werror - - os: osx - env: MULTI=1 - - os: osx - env: NOWRITEV=1 compiler: - gcc @@ -40,11 +36,11 @@ 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 + - if [ "$TRAVIS_OS_NAME" = "osx" -a "$BUNDLEDLIBTOM" = "--disable-bundled-libtom" ]; then brew update > /dev/null && brew install libtomcrypt libtommath ; fi script: - autoconf && autoheader && ./configure "$BUNDLEDLIBTOM" CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS" --prefix="$HOME/inst" - - if [ "$NOWRITEV" = "1" ]; then sed -i s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h ; fi + - if [ "$NOWRITEV" = "1" ]; then sed -i -e s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h ; fi - make -j3 install after_success: |