diff --git a/travis-ci.sh b/travis-ci.sh index 410b66ce97..c4cc138075 100755 --- a/travis-ci.sh +++ b/travis-ci.sh @@ -4,13 +4,13 @@ set -e -o pipefail dub test --compiler=$DC --config=${VIBED_DRIVER=libevent} -if [ ${RUN_EXAMPLE} -eq 1 ]; then +if [ ${BUILD_EXAMPLE=1} -eq 1 ]; then for ex in $(\ls -1 examples/); do echo "[INFO] Building example $ex" (cd examples/$ex && dub build --compiler=$DC && dub clean) done fi -if [ ${RUN_TEST} -eq 1 ]; then +if [ ${RUN_TEST=1} -eq 1 ]; then for ex in `\ls -1 tests/`; do echo "[INFO] Running test $ex" (cd tests/$ex && dub --compiler=$DC && dub clean)