瀏覽代碼

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

otherwise.
main
offa 8 年之前
父節點
當前提交
4a48f6085d
共有 2 個檔案被更改,包括 1 行新增3 行删除
  1. +1
    -0
      .travis.yml
  2. +0
    -3
      script/ci_install.sh

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



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

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