From cdc9bd0fd95d698b63b52e0b0343f1588f4c89c7 Mon Sep 17 00:00:00 2001 From: Artem Pikulin Date: Thu, 5 Jul 2018 12:56:21 +0700 Subject: [PATCH] Try to update cmake on Mac travis. --- travis_cmake_linux.sh | 5 ++++- travis_cmake_mac.sh | 6 +----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/travis_cmake_linux.sh b/travis_cmake_linux.sh index b2ed5d4d3..f11b08e4d 100644 --- a/travis_cmake_linux.sh +++ b/travis_cmake_linux.sh @@ -1,2 +1,5 @@ #!/bin/bash -ls /Applications \ No newline at end of file +sudo rm -rf /usr/local/cmake-3.9.2 && sudo rm -rf /usr/local/cmake +wget https://cmake.org/files/v3.12/cmake-3.12.0-rc2-Linux-x86_64.sh +chmod +x cmake-3.12.0-rc2-Linux-x86_64.sh +sudo ./cmake-3.12.0-rc2-Linux-x86_64.sh --skip-license --exclude-subdir --prefix=/usr/local \ No newline at end of file diff --git a/travis_cmake_mac.sh b/travis_cmake_mac.sh index 09268c6ce..b2ed5d4d3 100644 --- a/travis_cmake_mac.sh +++ b/travis_cmake_mac.sh @@ -1,6 +1,2 @@ #!/bin/bash -wget https://cmake.org/files/v3.12/cmake-3.12.0-rc2-Darwin-x86_64.dmg -sudo hdiutil attach cmake-3.12.0-rc2-Darwin-x86_64.dmg -sudo installer -package /Volumes/cmake-3.12.0-rc2-Darwin-x86_64/cmake-3.12.0-rc2-Darwin-x86_64.pkg -target / -sudo hdiutil detach /Volumes/cmake-3.12.0-rc2-Darwin-x86_64 -cmake --version \ No newline at end of file +ls /Applications \ No newline at end of file