.travis.yml 409 B

1234567891011121314151617181920
  1. # Ubuntu 14.04 Trusty support, to get newer cmake and compilers.
  2. sudo: required
  3. dist: trusty
  4. language: cpp
  5. os:
  6. - linux
  7. - osx
  8. compiler:
  9. - clang
  10. - gcc
  11. env:
  12. - CONFIG=Release
  13. - CONFIG=Debug
  14. script:
  15. - 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