diff options
Diffstat (limited to 'vendor/CppQuickCheck-2018-03-28/.travis.yml')
-rw-r--r-- | vendor/CppQuickCheck-2018-03-28/.travis.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/vendor/CppQuickCheck-2018-03-28/.travis.yml b/vendor/CppQuickCheck-2018-03-28/.travis.yml new file mode 100644 index 00000000..46fc72ff --- /dev/null +++ b/vendor/CppQuickCheck-2018-03-28/.travis.yml @@ -0,0 +1,36 @@ +language: cpp + +sudo: required +dist: trusty + +compiler: + - gcc + - clang + +os: +- linux + +# source: https://github.com/OpenLightingProject/ola/blob/master/.travis.yml +before_install: + - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y + - sudo add-apt-repository ppa:h-rayflood/gcc-upper -y + - sudo add-apt-repository "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.8 main" -y + - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - + - sudo apt-get update + + - if [ "$CXX" = "g++" ]; then sudo apt-get install g++-4.9; fi + - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi +#Remove the old g++/gcc to ensure we're using the latest ones + - if [ "$CXX" = "g++-4.9" ]; then sudo rm /usr/bin/g++; sudo rm /usr/bin/gcc; fi + + - if [ "$CXX" = "clang++" ]; then sudo apt-get install --force-yes clang-3.8; fi + - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.8" CC="clang-3.8"; fi +#Remove the old clang to ensure we're using the latest ones + +#Report the compiler version + - $CXX --version + + - sudo apt-get update + - sudo apt-get install libboost-thread-dev libboost-system-dev + +script: mkdir build && cd build && cmake .. && make && ./all-catch-tests |