Browse Source

Build steps moved to script.

main
offa 7 years ago
parent
commit
bada7506a3
2 changed files with 13 additions and 7 deletions
  1. +1
    -7
      .travis.yml
  2. +12
    -0
      script/ci_build.sh

+ 1
- 7
.travis.yml View File

@@ -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 View File

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

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

mkdir build && cd build

cmake ..
make
make unittest


Loading…
Cancel
Save