mirror of
https://github.com/gflags/gflags.git
synced 2025-04-05 05:25:04 +00:00
test: Travis CI build static+shared in Release+Debug (#164)
This commit is contained in:
parent
22e4a534c1
commit
435f949dbb
1 changed files with 10 additions and 6 deletions
16
.travis.yml
16
.travis.yml
|
@ -1,16 +1,20 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue