#!/bin/bash | #!/bin/bash | ||||
set -ex | |||||
BUILD_DIR=${TRAVIS_BUILD_DIR} | BUILD_DIR=${TRAVIS_BUILD_DIR} | ||||
mkdir -p "${DEPENDENCY_DIR}" && cd "${DEPENDENCY_DIR}" | mkdir -p "${DEPENDENCY_DIR}" && cd "${DEPENDENCY_DIR}" | ||||
## Install CMake | ## Install CMake | ||||
CMAKE_INSTALLER=install-cmake.sh | CMAKE_INSTALLER=install-cmake.sh | ||||
if [[ ! -f ${CMAKE_INSTALLER} ]] | if [[ ! -f ${CMAKE_INSTALLER} ]] | ||||
then | then | ||||
echo "CMake installer not available, downloading ..." | echo "CMake installer not available, downloading ..." |