aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2017-07-23 20:59:35 -0500
committerJorge Aparicio <jorge@japaric.io>2017-07-23 20:59:35 -0500
commitf5a4d8e9041d81e8c423727010f99df5fa97616d (patch)
tree116b16657d53185607ebcce47cdc93817766e6fb /ci
parent6ea9cda6635e7536523f3c6d3d217f7d474ae4a2 (diff)
don't wrap static references in a `Static`
Diffstat (limited to 'ci')
-rw-r--r--ci/script.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/ci/script.sh b/ci/script.sh
index 212a48a..5b9cea7 100644
--- a/ci/script.sh
+++ b/ci/script.sh
@@ -3,16 +3,12 @@ set -ex
main() {
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
cargo build
- cargo test
+ cargo test --tests
return
fi
xargo build --target $TARGET
- for ex in $(ls examples/*); do
- ex=$(basename $ex)
- ex=${ex%.*}
- xargo build --target $TARGET --example $ex
- done
+ xargo test --target $TARGET --examples
}
main