summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2019-03-05 20:25:26 +0100
committerEugen Wissner <belka@caraus.de>2019-03-05 20:47:02 +0100
commitb458c6a38097d6165edf52f84176a5178d053ac9 (patch)
tree9ce8863424365499b73342eb11deaace970bc321 /.travis.yml
parent5b850d532edebf83d8988ff413cbd2a988011630 (diff)
downloadtanya-b458c6a38097d6165edf52f84176a5178d053ac9.tar.gz
Make subpackages of os, sys and encoding
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
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