diff --git a/.travis.yml b/.travis.yml index 7948ba5..dfb9607 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,22 +1,9 @@ -# Based on the "trust" template v0.1.2 -# https://github.com/japaric/trust/tree/v0.1.2 language: rust rust: - stable - - beta - - nightly sudo: required env: TARGET=x86_64-unknown-linux-gnu -# TODO Rust builds on stable by default, this can be -# overridden on a case by case basis down below. -matrix: - allow_failures: - - rust: nightly - - name: clippy - fast_finish: true - - before_install: - set -e - rustup self update @@ -28,8 +15,8 @@ before_install: #TODO: remove -A clippy::new_ret_no_self when new version of clippy gets released! script: - - cross check --verbose - - cross test --all-features --release --verbose + - cargo check --all-features + - cargo test --all-features cache: cargo before_cache: