瀏覽代碼

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


Loading…
取消
儲存