mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Let travis run cargo fmt --all -- --check
This commit is contained in:
parent
ccff495b62
commit
4e0938d349
@ -30,6 +30,7 @@ before_install:
|
||||
install:
|
||||
- |
|
||||
if [ -z ${INTEGRATION} ]; then
|
||||
rustup component add rustfmt-preview || cargo install --git https://github.com/rust-lang/rustfmt/ --force
|
||||
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
||||
. $HOME/.nvm/nvm.sh
|
||||
nvm install stable
|
||||
@ -48,7 +49,7 @@ matrix:
|
||||
- os: linux
|
||||
env: BASE_TESTS=true
|
||||
- os: windows
|
||||
env: BASE_TEST=true
|
||||
env: BASE_TESTS=true
|
||||
- env: INTEGRATION=rust-lang/cargo
|
||||
- env: INTEGRATION=rust-random/rand
|
||||
- env: INTEGRATION=rust-lang-nursery/stdsimd
|
||||
@ -64,7 +65,7 @@ matrix:
|
||||
- env: INTEGRATION=hyperium/hyper
|
||||
allow_failures:
|
||||
- os: windows
|
||||
env: BASE_TEST=true
|
||||
env: BASE_TESTS=true
|
||||
# prevent these jobs with default env vars
|
||||
exclude:
|
||||
- os: linux
|
||||
|
@ -26,6 +26,7 @@ cd clippy_dev && cargo test && cd ..
|
||||
|
||||
# Perform various checks for lint registration
|
||||
./util/dev update_lints --check
|
||||
cargo +nightly fmt --all -- --check
|
||||
|
||||
CLIPPY="`pwd`/target/debug/cargo-clippy clippy"
|
||||
# run clippy on its own codebase...
|
||||
|
Loading…
Reference in New Issue
Block a user