changeset 1262:71698088bdac

TravisCI: re-enable MULTI=1 & NOWRITEV=1 builds on OSX, fixes d416a9b
author Chocobo1 <Chocobo1@users.noreply.github.com>
date Wed, 20 Jan 2016 21:56:39 +0800
parents 1df4a0a162d7
children c792271027eb
files .travis.yml
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/.travis.yml	Wed Jan 20 21:36:58 2016 +0800
+++ b/.travis.yml	Wed Jan 20 21:56:39 2016 +0800
@@ -16,10 +16,6 @@
   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 @@
   - 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: