Skip to content

Commit 4441956

Browse files
committed
chore(ci): update CI to Rust 1.38, modern rustfmt/clippy
Signed-off-by: Nick Stevens <[email protected]>
1 parent 4f3cf70 commit 4441956

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.travis.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ rust:
77
- nightly
88
matrix:
99
include:
10-
- env: RUSTFMT
11-
rust: 1.25.0 # `stable`: Locking down for consistent behavior
10+
- name: check rustfmt
11+
rust: 1.38.0 # `stable`: Locking down for consistent behavior
1212
install:
13-
- rustup component add rustfmt-preview
13+
- rustup component add rustfmt
1414
script:
15-
- cargo fmt -- --write-mode=diff
16-
- env: RUSTFLAGS="-D warnings"
17-
rust: 1.25.0 # `stable`: Locking down for consistent behavior
18-
install:
15+
- cargo fmt --all -- --check
16+
- name: check with -D warnings
17+
env: RUSTFLAGS="-D warnings"
18+
rust: 1.38.0 # `stable`: Locking down for consistent behavior
1919
script:
2020
- cargo check --tests --all-features
21-
- env: CLIPPY_VERSION="0.0.179"
22-
rust: nightly-2018-01-12
21+
- name: check clippy
22+
rust: 1.38.0 # `stable`: Locking down for consistent behavior
2323
install:
24-
- travis_wait cargo install clippy --version $CLIPPY_VERSION || echo "clippy already installed"
24+
- rustup component add clippy
2525
script:
26-
- cargo clippy --all-features -- -D clippy
26+
- cargo clippy --all --all-features -- -D warnings
2727

2828
install:
2929
- rustc -Vv

0 commit comments

Comments
 (0)