Skip to content

Commit 4a1501b

Browse files
committed
Use cargo check for denying warnings
1 parent 2ba277d commit 4a1501b

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.travis.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,10 @@ matrix:
1111
- name: cargo test
1212
os: linux
1313

14-
- name: cargo rustc -- -D warnings
14+
- name: Deny warnings
1515
rust: nightly
1616
script:
17-
- cargo rustc --manifest-path futures/Cargo.toml -- -Dwarnings
18-
- cargo rustc --manifest-path futures-core/Cargo.toml -- -Dwarnings
19-
- cargo rustc --manifest-path futures-channel/Cargo.toml -- -Dwarnings
20-
- cargo rustc --manifest-path futures-executor/Cargo.toml -- -Dwarnings
21-
- cargo rustc --manifest-path futures-io/Cargo.toml -- -Dwarnings
22-
- cargo rustc --manifest-path futures-sink/Cargo.toml -- -Dwarnings
23-
- cargo rustc --manifest-path futures-util/Cargo.toml -- -Dwarnings
17+
- RUSTFLAGS=-Dwarnings cargo check
2418

2519
- name: cargo bench
2620
rust: nightly

0 commit comments

Comments
 (0)