From fc7ba469065c5fa307f4cb96746290ff5d050d2e Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sat, 31 Jan 2015 22:35:52 -0600 Subject: be nicer to travis OS X machines, remove unneeded 'make clean' --- scripts/travis | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/scripts/travis b/scripts/travis index e5497c6..831c81c 100755 --- a/scripts/travis +++ b/scripts/travis @@ -4,15 +4,20 @@ set -e ./autogen.sh if [ "x$ARCH" = "xnative" ]; then - ./configure --enable-libtls - make clean - make -j distcheck + ./configure --enable-libtls + if [ `uname` = "Darwin" ]; then + # OS X runs out of resources if we run 'make -j check' + make -j + make check + else + make -j distcheck + fi else - CPU=i686 - if [ "x$ARCH" = "xmingw64" ]; then - CPU=x86_64 - fi - export CC=$CPU-w64-mingw32-gcc + CPU=i686 + if [ "x$ARCH" = "xmingw64" ]; then + CPU=x86_64 + fi + export CC=$CPU-w64-mingw32-gcc if [ -z $(which $CC) ]; then # Update Ubuntu 12.04 with current mingw toolchain @@ -24,7 +29,6 @@ else export PATH=$PATH:/opt/$ARCH/bin fi - ./configure --host=$CPU-w64-mingw32 --enable-libtls - make clean - make -j + ./configure --host=$CPU-w64-mingw32 --enable-libtls + make -j fi -- cgit v1.2.3-55-g6feb