moonfire-nvr/ci/script-rust.sh

7 lines
119 B
Bash
Executable File

#!/bin/bash -e
cargo build --all
cargo test --all
if [ "$TRAVIS_RUST_VERSION" = nightly ]; then
cargo bench --all
fi