From: notoria Date: Sat, 16 May 2020 17:51:53 +0000 (+0200) Subject: Enhanced Travis-CI (#512) X-Git-Tag: v0.8.123~28^2 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=3e5a65287432fb38e83615b2cfe7d9fffdef73d9;p=scryer-prolog.git Enhanced Travis-CI (#512) --- diff --git a/.travis.yml b/.travis.yml index 6d526e4b..001bb6b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,31 @@ language: rust -rust: - - stable - - beta - - nightly -matrix: - allow_failures: - - rust: nightly - fast_finish: true +cache: cargo +os: linux +dist: xenial -script: - - cargo build --verbose --all - - cargo test --verbose --all - - cargo test --verbose --all --no-default-features --features num +before_script: + - cargo fetch + +jobs: + allow_failures: + env: + - CAN_FAIL=true + include: + - stage: "Stable: Build" + rust: stable + script: cargo rustc --verbose -- -D warnings + name: "Build Stable" + - stage: "Stable: Tests" + rust: stable + script: cargo test --verbose --all + name: "Tests Stable" + - stage: "Features" + rust: stable + script: cargo test --verbose --all --no-default-features --features num + name: "num Tests" + env: CAN_FAIL=true + - stage: "Beta: Build" + # - # + rust: beta + script: cargo rustc --verbose -- -D warnings + name: "Build Beta"