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

sources: *sources sources: *sources


script: 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

#!/bin/bash

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

mkdir build && cd build

cmake ..
make
make unittest


Loading…
Cancel
Save