浏览代码

Output of CMake version, cleanup and formatting of CI config.

main
offa 7 年前
父节点
当前提交
b3164862bd
共有 1 个文件被更改,包括 10 次插入11 次删除
  1. +10
    -11
      .travis.yml

+ 10
- 11
.travis.yml 查看文件

@@ -60,18 +60,17 @@ matrix:
sources: *sources

install:
- mkdir -p "${DEPENDENCY_DIR}" && cd "${DEPENDENCY_DIR}"
- |
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"
mkdir -p cmake && travis_retry wget --no-check-certificate --quiet -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C cmake
fi
export PATH="${DEPENDENCY_DIR}/cmake/bin:${PATH}"
- cd ${TRAVIS_BUILD_DIR}
- mkdir -p "${DEPENDENCY_DIR}" && cd "${DEPENDENCY_DIR}"
- |
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"
mkdir -p cmake && travis_retry wget --no-check-certificate --quiet -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C cmake
fi
export PATH="${DEPENDENCY_DIR}/cmake/bin:${PATH}"
- cd ${TRAVIS_BUILD_DIR}


script:
- pwd
- ls
- script/ci_build.sh
- cmake --version
- script/ci_build.sh


正在加载...
取消
保存