From 35761dfc9a8fb9cf3394ab92a4e5cdb1cc8615db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Mon, 24 Oct 2016 09:21:11 +0200 Subject: [PATCH] Fix test script. --- travis-ci.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/travis-ci.sh b/travis-ci.sh index 095a774..586d131 100755 --- a/travis-ci.sh +++ b/travis-ci.sh @@ -19,8 +19,8 @@ if [ ${BUILD_EXAMPLE=1} -eq 1 ]; then done fi if [ ${RUN_TEST=1} -eq 1 ]; then - for ex in `\ls -1 tests/`; do + for ex in `\ls -1 tests/*.d`; do echo "[INFO] Running test $ex" - (cd tests && dub --compiler=$DC --single $ex && rm -r .dub test) + dub --temp-build --compiler=$DC --single $ex done fi