rhai/.ci/build.sh

14 lines
204 B
Bash
Raw Normal View History

2020-03-17 19:26:11 +01:00
#!/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
2020-03-17 19:26:11 +01:00
fi