test_full.sh 363 B

1234567891011121314151617
  1. #!/bin/bash
  2. set -ex
  3. echo Testing num-traits on rustc ${TRAVIS_RUST_VERSION}
  4. # num-traits should build and test everywhere.
  5. cargo build --verbose
  6. cargo test --verbose
  7. # test `no_std`
  8. cargo build --verbose --no-default-features
  9. cargo test --verbose --no-default-features
  10. # test `i128`
  11. cargo build --verbose --features=i128
  12. cargo test --verbose --features=i128