Skip to content

Commit

Permalink
CI: remove some targets to make CI faster
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingshen Sun committed Aug 1, 2018
1 parent d47ad31 commit 679459a
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: rust
cache: cargo
rust:
- 1.26.2
- stable
- nightly
env:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 679459a

Please sign in to comment.