Add style checking

A lot of tests are disabled. They should be enabled successively.
This commit is contained in:
2017-07-14 00:05:13 +02:00
parent 657f4a60d5
commit e6b91f70cb
5 changed files with 89 additions and 5 deletions
+3
View File
@@ -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)