summaryrefslogtreecommitdiff
path: root/ci/script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/script.sh')
-rw-r--r--ci/script.sh31
1 files changed, 0 insertions, 31 deletions
diff --git a/ci/script.sh b/ci/script.sh
deleted file mode 100644
index f998039a..00000000
--- a/ci/script.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash
-# This script takes care of testing your crate
-
-set -ex
-
-main() {
- # Add a cfg spec to allow disabling specific tests under CI.
- if [ "$CIRRUS_CI" = true ]; then
- export RUSTFLAGS=--cfg=cirrus
- fi
-
- IFS=';' read -ra TARGET_ARRAY <<< "$TARGET"
- for t in "${TARGET_ARRAY[@]}"; do
- # Build debug and release targets
- cross build --target $t
- cross build --target $t --release
-
- if [ ! -z $DISABLE_TESTS ]; then
- continue
- fi
-
- # Run tests on debug and release targets.
- cross test --target $t
- cross test --target $t --release
- done
-}
-
-# we don't run the "test phase" when doing deploys
-if [ -z $CIRRUS_TAG ]; then
- main
-fi