From b8b993be90bd689d0dcf1a5b0756c450346692d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Sun, 22 Jan 2017 21:41:09 +0100 Subject: [PATCH] Run tests with the actually selected configurations and fix the tested OS/config combinations. --- .travis.yml | 6 ++++++ travis-ci.sh | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ddd16cb..83d07f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,11 +17,17 @@ d: env: - CONFIG=select - CONFIG=epoll + - CONFIG=kqueue - CONFIG=libasync matrix: allow_failures: - env: CONFIG=libasync + exclude: + - os: osx + env: CONFIG=epoll + - os: linux + env: CONFIG=kqueue script: ./travis-ci.sh diff --git a/travis-ci.sh b/travis-ci.sh index 92cc99a..2fb75ba 100755 --- a/travis-ci.sh +++ b/travis-ci.sh @@ -15,7 +15,7 @@ dub test --compiler=$DC -c $CONFIG if [ ${BUILD_EXAMPLE=1} -eq 1 ]; then for ex in $(\ls -1 examples/*.d); do echo "[INFO] Building example $ex" - dub build --compiler=$DC --single $ex # --override-config eventcore/$CONFIG + dub build --compiler=$DC --override-config eventcore/$CONFIG --single $ex done rm -rf examples/.dub/ rm examples/*-example @@ -23,6 +23,6 @@ fi if [ ${RUN_TEST=1} -eq 1 ]; then for ex in `\ls -1 tests/*.d`; do echo "[INFO] Running test $ex" - dub --temp-build --compiler=$DC --single $ex # --override-config eventcore/$CONFIG + dub --temp-build --compiler=$DC --override-config eventcore/$CONFIG --single $ex done fi