Dreamer | 4667f41 | 2016-08-01 20:01:18 +0400 | [diff] [blame] | 1 | # Ubuntu 14.04 Trusty support, to get newer cmake and compilers. |
| 2 | sudo: required |
| 3 | dist: trusty |
| 4 | |
| 5 | language: cpp |
| 6 | |
Andreas Schuh | 435f949 | 2016-08-02 12:24:34 +0100 | [diff] [blame] | 7 | os: |
| 8 | - linux |
| 9 | - osx |
Dreamer | 4667f41 | 2016-08-01 20:01:18 +0400 | [diff] [blame] | 10 | |
| 11 | compiler: |
| 12 | - clang |
| 13 | - gcc |
Andreas Schuh | 435f949 | 2016-08-02 12:24:34 +0100 | [diff] [blame] | 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 |