install: | install: | ||||
- script/ci_install.sh | - script/ci_install.sh | ||||
- export PATH="${DEPENDENCY_DIR}/cmake/bin:${PATH}" | |||||
script: | script: | ||||
- script/ci_build.sh | - script/ci_build.sh |
BUILD_DIR=${TRAVIS_BUILD_DIR} | BUILD_DIR=${TRAVIS_BUILD_DIR} | ||||
## Install CMake | |||||
mkdir -p "${DEPENDENCY_DIR}" && cd "${DEPENDENCY_DIR}" | mkdir -p "${DEPENDENCY_DIR}" && cd "${DEPENDENCY_DIR}" | ||||
## Install CMake | |||||
if [[ ! -d "$(ls -A ${DEPENDENCY_DIR}/cmake)" ]]; then | if [[ ! -d "$(ls -A ${DEPENDENCY_DIR}/cmake)" ]]; then | ||||
CMAKE_URL="https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.tar.gz" | CMAKE_URL="https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.tar.gz" | ||||
mkdir -p cmake | mkdir -p cmake |