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



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

+ 0
- 3
script/ci_install.sh View File

wget --no-check-certificate --quiet -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C cmake wget --no-check-certificate --quiet -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C cmake
fi fi


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

cd ${BUILD_DIR} cd ${BUILD_DIR}



Loading…
Cancel
Save