message: Trying to install different CMake versions in macOS
diff: @@ -26,6 +26,15 @@ before_install:
  curl https://cmake.org/files/v${CMAKE_MINOR}/cmake-${CMAKE_VER}-Linux-x86_64.sh -o /tmp/cmake.sh
  sudo sh /tmp/cmake.sh --exclude-subdir --prefix=/usr/local
  sleep 3
  + else
  + curl https://cmake.org/files/v${CMAKE_MINOR}/cmake-${CMAKE_VER}-Darwin-x86_64.tar.gz -o /tmp/cmake.tgz
  + pushd /tmp
  + tar xf /tmp/cmake.tgz
  + if test -e /Applications/CMake.app; then
  + sudo rm -rf /Applications/CMake.app
  + fi
  + sudo cp -r cmake-${CMAKE_VER}-Darwin-x86_64/CMake.app /Applications/
  + sudo /Applications/CMake.app/Contents/bin/cmake-gui --install
  fi
  set +eu
  