Skip to content

Commit 5436b3c

Browse files
authored
Merge pull request #66 from tomhoule/clippy-ci
Run clippy in CI (nightly-only)
2 parents f1455e4 + 2c3a50b commit 5436b3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ rust:
55
- nightly
66
cache: cargo
77
before_script:
8-
- if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then (rustup component add rustfmt-preview) fi
8+
- if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then (rustup component add rustfmt-preview clippy-preview) fi
99
script:
1010
- if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then (cargo fmt --all -- --check) fi
11+
- if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then (cargo clippy) fi
1112
- cargo test --all
1213
- cargo build --manifest-path=./examples/github/Cargo.toml
1314
- cargo build --manifest-path=./graphql_client_cli/Cargo.toml

0 commit comments

Comments
 (0)