1 # http://docs.travis-ci.com/user/languages/c/
2 # start from https://github.com/rubinius/rubinius/blob/master/.travis.yml
12 # This will install newer versions of GCC and Clang. Default GCC works fine,
13 # therefore its lines are commented out. Default clang does not know
14 # one of the compilation switches and it fails, so it must be updated.
16 # http://stackoverflow.com/a/30925448/1047788
17 # https://github.com/travis-ci/travis-ci/issues/3478
19 - if [ "$CC" = "clang" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
20 # - if [ "$CC" = "gcc" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
22 # http://docs.travis-ci.com/user/apt/
26 - llvm-toolchain-precise-3.7
27 - ubuntu-toolchain-r-test
34 # https://blog.lukaspradel.com/continuous-integration-for-cmake-projects-using-travis-ci/
36 - make -j2 && ./pachi -u t-unit/sar.t