Skip to content

Commit 679459a

Browse files
author
Mingshen Sun
committed
CI: remove some targets to make CI faster
1 parent d47ad31 commit 679459a

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.travis.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: rust
22
cache: cargo
33
rust:
4-
- 1.26.2
54
- stable
65
- nightly
76
env:
@@ -11,6 +10,8 @@ env:
1110
- TARGET=arm-unknown-linux-gnueabi RUSTFLAGS="-C linker=arm-linux-gnueabi-gcc"
1211
matrix:
1312
include:
13+
- rust: 1.26.2
14+
env: TARGET=x86_64-unknown-linux-gnu TEST=1
1415
- os: osx
1516
rust: stable
1617
env: TARGET=x86_64-apple-darwin
@@ -25,21 +26,15 @@ matrix:
2526
script:
2627
- ./ci/run-cov
2728
- bash <(curl -s https://codecov.io/bash) -f final.info
28-
- rust: stable
29-
env: TARGET=x86_64-unknown-linux-gnu FMT=1
30-
before_install:
31-
install:
32-
before_script:
33-
- rustup component add rustfmt-preview
34-
script:
35-
- cargo fmt -- --write-mode check
3629
- rust: nightly
37-
env: TARGET=x86_64-unknown-linux-gnu CLIPPY=1
30+
env: TARGET=x86_64-unknown-linux-gnu FMT=1 CLIPPY=1
3831
before_install:
3932
install:
4033
before_script:
41-
- rustup component add clippy-preview --toolchain=nightly
34+
- rustup component add rustfmt-preview
35+
- rustup component add clippy-preview
4236
script:
37+
- cargo fmt --all -- --check `find libmesabox src -iname "*.rs"`
4338
- cargo clippy
4439
allow_failures:
4540
- rust: nightly

0 commit comments

Comments
 (0)