Chmouel Boudjnah ac0b2a797f Add validate-json tox target
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
2014-10-03 09:59:19 +00:00

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