solana/ci/test-checks.sh

21 lines
414 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
2018-12-18 14:25:10 -08:00
source ci/_
source ci/rust-version.sh stable
2018-12-18 14:25:10 -08:00
export RUST_BACKTRACE=1
export RUSTFLAGS="-D warnings"
_ cargo +"$rust_stable" fmt --all -- --check
_ cargo +"$rust_stable" clippy --all -- --version
_ cargo +"$rust_stable" clippy --all -- --deny=warnings
_ cargo +"$rust_stable" audit
_ ci/nits.sh
_ ci/order-crates-for-publishing.py
2018-12-18 12:20:41 -08:00
_ book/build.sh
echo --- ok