Shorten the test phase in the CI

This commit is contained in:
Roey Darwish Dror
2019-01-21 22:38:47 +02:00
parent fad9cc665c
commit f33d0e6936
2 changed files with 4 additions and 10 deletions

View File

@@ -5,11 +5,8 @@ set -ex
# TODO This is the "test phase", tweak it as you see fit
main() {
cargo fmt --all -- --check
cross clippy --all-targets -- -D warnings
cross clippy --all-targets --all-features -- -D warnings
cross check --target $TARGET
cross check --target $TARGET --release
cross check --target $TARGET --all-features
cross check --target $TARGET --release --all-features
if [ ! -z $DISABLE_TESTS ]; then
return