docker,travis: fail build on any warning

This commit is contained in:
Leon Klingele
2019-09-24 00:19:18 +02:00
parent 6942916f13
commit b25013c4a2
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ jobs:
- shards update
- shards install
install:
- crystal build --error-on-warnings src/invidious.cr
- crystal build --warnings all --error-on-warnings src/invidious.cr
script:
- crystal tool format --check
- crystal spec