You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
315B

  1. # This script takes care of testing your crate
  2. set -ex
  3. # TODO This is the "test phase", tweak it as you see fit
  4. main() {
  5. if [ ! -z $DISABLE_TESTS ]; then
  6. return
  7. fi
  8. cross test --all --target $TARGET
  9. }
  10. # we don't run the "test phase" when doing deploys
  11. if [ -z $TRAVIS_TAG ]; then
  12. main
  13. fi