瀏覽代碼

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

otherwise.
main
offa 7 年之前
父節點
當前提交
4a48f6085d
共有 2 個文件被更改,包括 1 次插入3 次删除
  1. +1
    -0
      .travis.yml
  2. +0
    -3
      script/ci_install.sh

+ 1
- 0
.travis.yml 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存