forked from rojo-rbx/rojo
Restructure Travis config to fail fast
This commit is contained in:
@@ -40,9 +40,8 @@ matrix:
|
||||
rust: stable
|
||||
cache: cargo
|
||||
|
||||
script:
|
||||
install:
|
||||
- rustup component add rustfmt
|
||||
- rustup component add clippy
|
||||
- cargo test --locked --verbose
|
||||
- cargo fmt -- --check
|
||||
- cargo clippy
|
||||
|
||||
script: ./bin/run-tests.sh
|
||||
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