From f5a4d8e9041d81e8c423727010f99df5fa97616d Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sun, 23 Jul 2017 20:59:35 -0500 Subject: don't wrap static references in a `Static` --- ci/script.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'ci/script.sh') 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 -- cgit v1.2.3