rhai/.ci/build.sh
2020-03-18 12:04:26 +08:00

14 lines
204 B
Bash
Executable File

#!/bin/bash
set -ex
cargo build --verbose
cargo test --verbose
if [ "$TRAVIS_RUST_VERSION" = "nightly" ]
then
cargo build --verbose --features no_std
cargo test --verbose --features no_std
fi