From 679459afd359b779b43649e0e2f4525735d6cf4b Mon Sep 17 00:00:00 2001 From: Mingshen Sun Date: Tue, 31 Jul 2018 19:47:28 -0700 Subject: [PATCH] CI: remove some targets to make CI faster --- .travis.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index e05ef9f..08576e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: rust cache: cargo rust: - - 1.26.2 - stable - nightly env: @@ -11,6 +10,8 @@ env: - TARGET=arm-unknown-linux-gnueabi RUSTFLAGS="-C linker=arm-linux-gnueabi-gcc" matrix: include: + - rust: 1.26.2 + env: TARGET=x86_64-unknown-linux-gnu TEST=1 - os: osx rust: stable env: TARGET=x86_64-apple-darwin @@ -25,21 +26,15 @@ matrix: script: - ./ci/run-cov - bash <(curl -s https://codecov.io/bash) -f final.info - - rust: stable - env: TARGET=x86_64-unknown-linux-gnu FMT=1 - before_install: - install: - before_script: - - rustup component add rustfmt-preview - script: - - cargo fmt -- --write-mode check - rust: nightly - env: TARGET=x86_64-unknown-linux-gnu CLIPPY=1 + env: TARGET=x86_64-unknown-linux-gnu FMT=1 CLIPPY=1 before_install: install: before_script: - - rustup component add clippy-preview --toolchain=nightly + - rustup component add rustfmt-preview + - rustup component add clippy-preview script: + - cargo fmt --all -- --check `find libmesabox src -iname "*.rs"` - cargo clippy allow_failures: - rust: nightly