.multirust.sh 429 B

12345678910111213141516
  1. #!/bin/sh
  2. # Use multirust to locally run the same suite of tests as .travis.yml.
  3. # (You should first install/update 1.0.0, beta, and nightly.)
  4. set -ex
  5. for toolchain in 1.0.0 beta nightly; do
  6. run="multirust run $toolchain"
  7. $run cargo build --verbose
  8. $run cargo test --verbose
  9. $run .travis/test_features.sh
  10. if [ $toolchain = nightly ]; then
  11. $run .travis/test_nightly.sh
  12. fi
  13. $run cargo doc
  14. done