From a7587240c69bb8f91ffa5536db646777d854832d Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Thu, 12 Sep 2019 12:30:46 +0200 Subject: [PATCH] Update travis script for 2019. --- .travis.yml | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/.travis.yml b/.travis.yml index f585909..48e8efd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,15 @@ -language: rust -rust: - - stable - - beta - - nightly - - 1.28.0 # Ubuntu Bionic and Xenial +language: cpp +dist: bionic +compiler: + - clang + - gcc -matrix: - allow_failures: - - rust: nightly - - rust: 1.28.0 - fast_finish: true - -cache: cargo # Custom directory, for the correct year before_script: - - cd 2018 + - cd 2019 -# After success on stable, run benchmark -after_success: - - if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then - cargo bench; - fi +# CMake build +script: + - cmake . + - make