浏览代码

Build steps moved to script.

main
offa 7 年前
父节点
当前提交
bada7506a3
共有 2 个文件被更改,包括 13 次插入7 次删除
  1. +1
    -7
      .travis.yml
  2. +12
    -0
      script/ci_build.sh

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

@@ -52,11 +52,5 @@ matrix:
sources: *sources

script:
- if [[ "$CXX" == clang* ]]; then export CXXFLAGS="-stdlib=libc++"; fi
- mkdir build && cd build
- cmake ..
- make
- make unittest


- script/ci_build.sh


+ 12
- 0
script/ci_build.sh 查看文件

@@ -0,0 +1,12 @@
#!/bin/bash

if [[ "$CXX" == clang* ]]; then
export CXXFLAGS="-stdlib=libc++"
fi

mkdir build && cd build

cmake ..
make
make unittest


正在加载...
取消
保存