Browse Source

Set the PATH env within the travis file as it won't get exported

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

+ 1
- 0
.travis.yml View File

@@ -25,6 +25,7 @@ matrix:

install:
- script/ci_install.sh
- export PATH="${DEPENDENCY_DIR}/cmake/bin:${PATH}"

script:
- script/ci_build.sh

+ 0
- 3
script/ci_install.sh View File

@@ -11,8 +11,5 @@ if [[ ! -d "$(ls -A ${DEPENDENCY_DIR}/cmake)" ]]; then
wget --no-check-certificate --quiet -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C cmake
fi

export PATH="${DEPENDENCY_DIR}/cmake/bin:${PATH}"
cmake --version

cd ${BUILD_DIR}


Loading…
Cancel
Save