Skip to content

Commit af68d8f

Browse files
committed
Run clippy and rustfmt on the stable channel in CI
1 parent 02d1a68 commit af68d8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ rust:
55
# - nightly
66
cache: cargo
77
before_script:
8-
- if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then (rustup component add rustfmt-preview clippy-preview) fi
8+
- if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (rustup component add rustfmt-preview clippy-preview) fi
99
script:
10-
- if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then (cargo fmt --all -- --check) fi
11-
- if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then (cargo clippy) fi
10+
- if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (cargo fmt --all -- --check) fi
11+
- if [ "$TRAVIS_RUST_VERSION" = "stable" ]; then (cargo clippy) fi
1212
- cargo test --all
1313
- cargo build --manifest-path=./examples/github/Cargo.toml
1414
- cargo build --manifest-path=./graphql_client_cli/Cargo.toml

0 commit comments

Comments
 (0)