num-traits/ci/test_full.sh

18 lines
363 B
Bash
Raw Normal View History

#!/bin/bash
set -ex
echo Testing num-traits on rustc ${TRAVIS_RUST_VERSION}
2018-02-01 19:56:13 +00:00
# num-traits should build and test everywhere.
cargo build --verbose
cargo test --verbose
2018-01-31 23:56:25 +00:00
# test `no_std`
cargo build --verbose --no-default-features
cargo test --verbose --no-default-features
# test `i128`
cargo build --verbose --features=i128
cargo test --verbose --features=i128