Skip to content

Commit 6d70977

Browse files
committed
Run clippy in travis.
1 parent afba0a1 commit 6d70977

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ addons:
1010
- binutils-dev
1111
rust:
1212
- stable
13+
- nightly
1314
before_script:
1415
- sudo apt-get update -qq
1516
- sudo apt-get install -y mpd
@@ -19,13 +20,16 @@ before_script:
1920
export PATH=$HOME/.local/bin:$PATH
2021
- |
2122
cargo install --force rustfmt
23+
travis-cargo --only nightly install -- --force clippy
2224
export PATH=$HOME/.cargo/bin:$PATH
2325
script:
2426
- |
2527
RUSTFLAGS=-Dwarnings travis-cargo build &&
2628
travis-cargo test
2729
- |
2830
cargo fmt -- --write-mode diff
31+
- |
32+
travis-cargo --only nightly clippy
2933
- |
3034
travis-cargo --only stable doc
3135
after_success:

0 commit comments

Comments
 (0)