From b224b959acd5faeb106a197ca70363ea2f53d728 Mon Sep 17 00:00:00 2001 From: Jeremy Hu Date: Sun, 11 Nov 2018 11:16:33 +0800 Subject: [PATCH] Fix travis-ci timeout issues There is a limit of 50 minutes per build job for free opensource project in travis ci. The new version of boost 1.68 take too much time to build, this commit reduce the boost build time by avoid unessecary variants building. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bebc987d..69cff92b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,8 @@ matrix: install: # (Mac) Install CGAL - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew reinstall cgal; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then HOMEBREW_VERBOSE_USING_DOTS=1 brew reinstall --verbose boost --without-single --without-static; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then HOMEBREW_VERBOSE_USING_DOTS=1 brew reinstall --verbose cgal; fi # (Linux) Prepare build environment - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository --yes ppa:beineri/opt-qt591-trusty; fi