From fdff42bc3d9e94c590b244b5c975a31ff956c725 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Tue, 15 Aug 2017 20:30:01 +0200 Subject: [PATCH] :construction_worker: forgot to install Cmake on OSX --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7969af18..7a52653b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,7 +42,7 @@ matrix: after_success: - make check TEST_PREFIX="valgrind --error-exitcode=1 --leak-check=full " TEST_PATTERN="" - # cLang sanitizer + # clang sanitizer # note: sadly clang's libc++ has errors when running with sanitize, # so we use clang with gcc's libstdc++ which doesn't give those error. # that's why we need to install g++-6 to get the lastest version @@ -267,6 +267,14 @@ matrix: ################ script: + # get CMake (only for systems with brew - macOS) + - | + if [[ !(-x $(which cmake)) && (-x $(which brew)) ]]; then + brew update + brew install cmake + cmake --version + fi + # make sure CXX is correctly set - if [[ "${COMPILER}" != "" ]]; then export CXX=${COMPILER}; fi