.travis.yml: Add *.json file validation (#2362)

This commit is contained in:
Sebastian 2019-11-21 09:12:25 +01:00 committed by GitHub
parent 946c5e4dbc
commit cc34fee989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,7 @@ before_install:
- travis_retry python3 -m pip install --user pexpect # imported by tools/ci.py
- travis_retry python3 -m pip install --user requests # imported by tools/pr.py
- travis_retry python3 -m pip install --user pygments
- travis_retry sudo python3 -m pip install demjson # installs jsonlint => sudo required
matrix:
# do notify immediately about it when a job of a build fails.
@ -158,6 +159,8 @@ matrix:
- make clean
- make -j2 CXXFLAGS=-funsigned-char testrunner
- ./testrunner TestSymbolDatabase
# check .json files
- find . -name '*.json' -not -path '*/\.*' | xargs jsonlint -s
# check if dmake needs to be rerun (this job may fail)
- name: "rerun dmake?"