From 31a2eba2fee3fb6714fb0248d4eaeef996e0d433 Mon Sep 17 00:00:00 2001 From: Benjamin Sago Date: Tue, 13 Oct 2020 21:49:00 +0100 Subject: [PATCH] Travis changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Modernise the Travis incantations, which have become old and faded since they were first written • Specify a MSRV (1.42.0) and compile on more architectures • Test the power set of features on Stable --- .travis.yml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 917b2d0..cc98081 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,19 @@ -before_install: - - sudo add-apt-repository --yes ppa:kubuntu-ppa/backports - - sudo apt-get update -qq - - sudo apt-get install cmake -sudo: true language: rust rust: + - 1.42.0 - stable -script: - - cargo build --verbose - - cargo test --verbose - - cargo build --verbose --no-default-features - - cargo test --verbose --no-default-features + - beta + - nightly + +jobs: + fast_finish: true + allow_failures: + - rust: nightly + + include: + - name: 'Rust: test with all features' + rust: stable + install: + - cargo install cargo-hack + script: + - cargo hack test --feature-powerset