Browse Source

Creation of directories is not related to cmake installation.

main
offa 7 years ago
parent
commit
65b60a942d
2 changed files with 2 additions and 2 deletions
  1. +0
    -1
      .travis.yml
  2. +2
    -1
      script/ci_install.sh

+ 0
- 1
.travis.yml View File



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

+ 2
- 1
script/ci_install.sh View File



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

Loading…
Cancel
Save