
This is a simple JSON validation script based on demjson python library, we do some shell script trickeries to exit properly if there is a failure for tox (should probably patch demjson to properly exit instead). Change-Id: I930908336deef7daeaab5b55ba2031c64698d880 Implements: blueprint json-validation-gate
12 lines
194 B
INI
12 lines
194 B
INI
[tox]
|
|
skipsdist = True
|
|
envlist = validate-json
|
|
minversion = 1.6
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:validate-json]
|
|
commands =
|
|
{toxinidir}/tools/validate-json.sh
|