Optimize some CI stuff (#1880)

* CI Optimizations
This commit is contained in:
jackcmay
2018-11-21 12:16:16 -08:00
committed by GitHub
parent 574021041d
commit 59163e2dd9
8 changed files with 80 additions and 45 deletions

19
ci/test-checks.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
ci/version-check.sh stable
export RUST_BACKTRACE=1
export RUSTFLAGS="-D warnings"
_() {
echo "--- $*"
"$@"
}
_ cargo fmt -- --check
_ cargo clippy -- --version
_ cargo clippy -- --deny=warnings
_ ci/audit.sh