Skip to content

Commit

Permalink
fix(travis): correct travis clippy cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
compressed committed Sep 26, 2017
1 parent 54af547 commit ed40767
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ script:
- cargo build --verbose $FEATURES
- cargo test --verbose $FEATURES
- rustdoc --test README.md -L target/debug/deps -L target/debug
- '[ $TRAVIS_RUST_VERSION = nightly ] && cargo install clippy && cargo clippy -- --test'
- 'if [[ $TRAVIS_RUST_VERSION = nightly ]]; then
(cargo install clippy && cargo clippy -- --test)
fi'

after_success:
- '[ $TRAVIS_RUST_VERSION = stable ] &&
Expand Down

0 comments on commit ed40767

Please sign in to comment.