Skip to content

Commit

Permalink
Run tests with the actually selected configurations and fix the teste…
Browse files Browse the repository at this point in the history
…d OS/config combinations.
  • Loading branch information
s-ludwig committed Jan 22, 2017
1 parent 619948c commit b8b993b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions travis-ci.sh
Expand Up @@ -15,14 +15,14 @@ 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
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

0 comments on commit b8b993b

Please sign in to comment.