Skip to content

Commit

Permalink
Add .travis.yml (abseil#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Oct 17, 2018
1 parent 8e2c525 commit c16a6a8
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 c16a6a8

Please sign in to comment.