Further shorten work of travis

embedded-hal-1.0
Caemor 2020-03-26 20:07:55 +01:00
parent 5c5c04d1fb
commit 08c46952f7
1 changed files with 2 additions and 15 deletions

View File

@ -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: