You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ci_install.sh 424B

7 년 전
123456789101112131415161718192021222324
  1. #!/bin/bash
  2. set -ex
  3. BUILD_DIR=${TRAVIS_BUILD_DIR}
  4. mkdir -p "${DEPENDENCY_DIR}" && cd "${DEPENDENCY_DIR}"
  5. ## Install CMake
  6. CMAKE_INSTALLER=install-cmake.sh
  7. if [[ ! -f ${CMAKE_INSTALLER} ]]
  8. then
  9. curl -sSL https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.sh -o ${CMAKE_INSTALLER}
  10. chmod +x ${CMAKE_INSTALLER}
  11. fi
  12. sudo ./${CMAKE_INSTALLER} --prefix=/usr/local --skip-license
  13. cmake --version
  14. cd ${BUILD_DIR}