adding Travis checks for JSON files (through jq) (#197)

This commit is contained in:
Alex Barcelo
2017-10-31 13:52:57 +01:00
committed by Pascal Vizeli
parent ea5d7b5920
commit a3c7b17e71

View File

@@ -9,9 +9,11 @@ addons:
- debian-sid # Grab shellcheck from the Debian repo (o_O) - debian-sid # Grab shellcheck from the Debian repo (o_O)
packages: packages:
- shellcheck - shellcheck
- jq
script: script:
- bash -c 'shopt -s globstar; shellcheck **/*.sh' - bash -c 'shopt -s globstar; shellcheck **/*.sh'
- bash -c 'shopt -s globstar ; jq . **/*.json'
matrix: matrix:
fast_finish: true fast_finish: true