From 950c5cf36be3f2f70a45a5a28bc687d645b520fe Mon Sep 17 00:00:00 2001 From: "Hoa V. DINH" Date: Mon, 2 Jan 2017 23:19:48 -0800 Subject: Install cmake only if needed --- scripts/travis/before-script.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/travis/before-script.sh b/scripts/travis/before-script.sh index 55cd7609..9d8b0a88 100755 --- a/scripts/travis/before-script.sh +++ b/scripts/travis/before-script.sh @@ -5,7 +5,9 @@ if test x"`uname`" = xDarwin ; then sudo systemsetup -settimezone America/Los_Angeles brew update || brew update || : brew uninstall xctool && brew install --HEAD xctool - brew install cmake + if ! which cmake >/dev/null ; then + brew install cmake + fi elif test x"`uname`" = xLinux ; then git clone --depth=1 https://github.com/dinhviethoa/libetpan cd libetpan -- cgit v1.2.3