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:
|
env:
|
||||||
- CONFIG=select
|
- CONFIG=select
|
||||||
- CONFIG=epoll
|
- CONFIG=epoll
|
||||||
|
- CONFIG=kqueue
|
||||||
- CONFIG=libasync
|
- CONFIG=libasync
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- env: CONFIG=libasync
|
- env: CONFIG=libasync
|
||||||
|
exclude:
|
||||||
|
- os: osx
|
||||||
|
env: CONFIG=epoll
|
||||||
|
- os: linux
|
||||||
|
env: CONFIG=kqueue
|
||||||
|
|
||||||
script: ./travis-ci.sh
|
script: ./travis-ci.sh
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ dub test --compiler=$DC -c $CONFIG
|
||||||
if [ ${BUILD_EXAMPLE=1} -eq 1 ]; then
|
if [ ${BUILD_EXAMPLE=1} -eq 1 ]; then
|
||||||
for ex in $(\ls -1 examples/*.d); do
|
for ex in $(\ls -1 examples/*.d); do
|
||||||
echo "[INFO] Building example $ex"
|
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
|
done
|
||||||
rm -rf examples/.dub/
|
rm -rf examples/.dub/
|
||||||
rm examples/*-example
|
rm examples/*-example
|
||||||
|
@ -23,6 +23,6 @@ fi
|
||||||
if [ ${RUN_TEST=1} -eq 1 ]; then
|
if [ ${RUN_TEST=1} -eq 1 ]; then
|
||||||
for ex in `\ls -1 tests/*.d`; do
|
for ex in `\ls -1 tests/*.d`; do
|
||||||
echo "[INFO] Running test $ex"
|
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
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue