From 62d2f4e5f5b24b1335e12dbdcf222488a0215845 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 4 Jan 2017 22:04:05 +0100 Subject: [PATCH] Don't build sample in macOS Travis CI builds This takes too much time and the entire build regularly times out, resulting in spurious errors. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b3065f5b19..e7572a7bbd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ matrix: - os: osx osx_image: xcode6.4 compiler: clang - env: wxCONFIGURE_FLAGS="--enable-cxx11" wxMAKEFILE_FLAGS="CXXFLAGS='-std=c++11 -stdlib=libc++'" + env: wxCONFIGURE_FLAGS="--enable-cxx11" wxMAKEFILE_FLAGS="CXXFLAGS='-std=c++11 -stdlib=libc++'" wxSKIP_SAMPLES=1 branches: only: @@ -51,7 +51,7 @@ script: | popd && echo -en 'travis_fold:end:script.3\\r' && echo 'Building the samples...' && echo -en 'travis_fold:start:script.4\\r' && - make samples && + (test -n "$wxSKIP_SAMPLES" && make samples || echo "*** Skipping building samples ***) && echo -en 'travis_fold:end:script.4\\r' && echo 'Installing...' && echo -en 'travis_fold:start:script.5\\r' && sudo make install &&