mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Restructure Travis config to fail fast
This commit is contained in:
parent
aed160994a
commit
8e1536b59b
2 changed files with 10 additions and 4 deletions
|
|
@ -40,9 +40,8 @@ matrix:
|
||||||
rust: stable
|
rust: stable
|
||||||
cache: cargo
|
cache: cargo
|
||||||
|
|
||||||
script:
|
install:
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
- cargo test --locked --verbose
|
|
||||||
- cargo fmt -- --check
|
script: ./bin/run-tests.sh
|
||||||
- cargo clippy
|
|
||||||
7
bin/run-tests.sh
Normal file
7
bin/run-tests.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -ev
|
||||||
|
|
||||||
|
cargo test --locked --verbose
|
||||||
|
cargo fmt -- --check
|
||||||
|
cargo clippy
|
||||||
Loading…
Add table
Add a link
Reference in a new issue