Commit 435f949d authored by Andreas Schuh's avatar Andreas Schuh Committed by GitHub

test: Travis CI build static+shared in Release+Debug (#164)

parent 22e4a534
os:
- linux
- osx
# Ubuntu 14.04 Trusty support, to get newer cmake and compilers.
sudo: required
dist: trusty
language: cpp
script:
- mkdir out && cd out && cmake -DGFLAGS_BUILD_TESTING=True .. && make && ctest
os:
- linux
- osx
compiler:
- clang
- gcc
env:
- CONFIG=Release
- CONFIG=Debug
script:
- mkdir out && cd out && cmake -D CMAKE_BUILD_TYPE=$CONFIG -D GFLAGS_BUILD_SHARED_LIBS=ON -D GFLAGS_BUILD_STATIC_LIBS=ON -D GFLAGS_BUILD_TESTING=ON .. && cmake --build . --config $CONFIG && ctest
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment