Skip to content

Commit

Permalink
Add Travis-CI Cmake jobs (abseil#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Oct 19, 2018
1 parent d80af03 commit 837ea0a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
sudo: false
language: cpp

matrix:
include:
- os: linux
dist: trusty
compiler: gcc
- os: osx
osx_image: xcode9.4
compiler: clang

before_install:
- eval "${MATRIX_EVAL}"

script:
- cmake --version
- cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release -DABSL_RUN_TESTS=ON -DABSL_USE_GOOGLETEST_HEAD=ON
- cmake --build build --target all
- cmake --build build --target test -- CTEST_OUTPUT_ON_FAILURE=1

0 comments on commit 837ea0a

Please sign in to comment.