summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2017-07-14 00:05:13 +0200
committerEugen Wissner <belka@caraus.de>2017-07-14 00:05:13 +0200
commite6b91f70cb478ff17778dab00c2115a4d8e90cb8 (patch)
tree14df3b9eed1ed83b4d112280f02eecc6cca55d18 /.travis.yml
parent657f4a60d51766b7474d588d16918b7cba8dee00 (diff)
downloadtanya-e6b91f70cb478ff17778dab00c2115a4d8e90cb8.tar.gz
Add style checking
A lot of tests are disabled. They should be enabled successively.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index ab587d5..d5c5d58 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,6 +29,9 @@ before_script:
script:
- dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC
+ - if [ "$UNITTEST" = "unittest-cov" -a "$ARCH" = "x86_64" -a "$TRAVIS_OS_NAME" = "linux" ]; then
+ dub fetch dscanner && dub run dscanner -- -Isource --styleCheck;
+ fi
after_success:
- test "$UNITTEST" = "unittest-cov" && bash <(curl -s https://codecov.io/bash)