Run tests with the actually selected configurations and fix the tested OS/config combinations.
This commit is contained in:
parent
619948c4d5
commit
b8b993be90
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue