diff options
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 62343f6..3cb4f7a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,18 +47,25 @@ before_script: fi script: -- if [ -n "$DDOC" ]; then +- set -e; + if [ -n "$DDOC" ]; then dub build :meta -b ddox --compiler=$DC; + dub build :sys -b ddox --compiler=$DC; + dub build :os -b ddox --compiler=$DC; + dub build :encoding -b ddox --compiler=$DC; dub build -b ddox --compiler=$DC; elif [ -z "$DSCANNER" ]; then dub test :meta -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC; + dub test :sys -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC; + dub test :os -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC; + dub test :encoding -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC; dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC; else dub fetch dscanner --version=$DSCANNER; - FILES=$(find source -type f); + FILES=$(find source */source -type f); dub run dscanner -- --styleCheck $FILES; fi after_success: -- test "$UNITTEST" && bash <(curl -s https://codecov.io/bash) +- test "$UNITTEST" && bash <(curl -s https://codecov.io/bash) || true |
