From: Eric Haszlakiewicz Date: Wed, 8 Apr 2020 02:02:25 +0000 (+0000) Subject: Apparently cmake is already installed on travis osx builds. Try another approach... X-Git-Tag: json-c-0.14-20200419~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf8421c36dc4234cb33f8709eeb8e86cb55e1b5e;p=json-c Apparently cmake is already installed on travis osx builds. Try another approach to figure out what was failing. --- diff --git a/.travis.yml b/.travis.yml index f773160..269e993 100644 --- a/.travis.yml +++ b/.travis.yml @@ -124,10 +124,11 @@ before_install: fi before_script: - - if [ "$TRAVIS_OS_NAME" = "osx" ]; then - brew install cmake; - fi - - mkdir build && cd build && cmake .. + - mkdir -p build || (echo "Failed to mkdir build" ; false) + - cd build || (echo "Failed to cd build" ; false) + - cmake .. || (echo "Failed to run cmake"; false) + - echo "After cmake" + - pwd script: - make