Add json validate for travis (#220)

* Add json validate for travis

* Update .travis.yml

* Update .travis.yml
This commit is contained in:
Pascal Vizeli
2018-01-02 17:08:03 +01:00
committed by GitHub
parent 1d68342fe3
commit c8894a2cb6

View File

@@ -11,9 +11,11 @@ addons:
before_install:
- shopt -s globstar
- docker pull koalaman/shellcheck
- docker pull stedolan/jq
script:
- docker run -v $(pwd):/mnt koalaman/shellcheck **/*.sh
- cat -- **/*.json | docker run -v $(pwd):/mnt stedolan/jq '.'
matrix:
fast_finish: true