.travis.yml: Add *.json file validation (#2362)
This commit is contained in:
parent
946c5e4dbc
commit
cc34fee989
|
@ -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?"
|
||||
|
|
Loading…
Reference in New Issue