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