mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-25 15:16:07 +00:00
Restructure Travis config to fail fast
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user