mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 17:26:04 +00:00
Add cargo fmt as a build step to pass CI
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
language: rust
|
language: rust
|
||||||
|
cache: cargo
|
||||||
script:
|
script:
|
||||||
|
- cargo fmt --all -- --check
|
||||||
- cargo build --verbose --all
|
- cargo build --verbose --all
|
||||||
- cargo test --verbose --all
|
- cargo test --verbose --all
|
||||||
rust:
|
rust:
|
||||||
@@ -10,3 +12,6 @@ matrix:
|
|||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
install:
|
||||||
|
- (cargo install rustfmt || true)
|
||||||
|
- PATH=$PATH:/home/travis/.cargo/bin
|
||||||
|
|||||||
Reference in New Issue
Block a user