From ac0b2a797f3a279fb15728def4016f6156ccfe0a Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Fri, 3 Oct 2014 09:26:36 +0000 Subject: 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 --- tox.ini | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tox.ini (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini new file mode 100644 index 000000000..5a3f84656 --- /dev/null +++ b/tox.ini @@ -0,0 +1,11 @@ +[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 -- cgit v1.2.3