Commit 2bb878f0 by John Jarvis

adding json lint check

parent b7ab6d2b
......@@ -4,7 +4,7 @@ python:
- "2.7"
install:
- "pip install --allow-all-external -r requirements.txt"
- "sudo apt-get install -y npm"
- "sudo apt-get install -y npm python-demjson"
- "sudo npm install -g js-yaml"
script:
- |
......@@ -16,6 +16,14 @@ script:
fi
done
- |
for json in $(find . -name "*.json"); do
jsonlint $json
if [[ $? -ne 0 ]]; then
echo "ERROR parsing $json"
exit 1
fi
done
- |
plays="aws bastion certs commoncluster common demo devpi discern edx_ansible edxapp elasticsearch forum ora rabbitmq worker xqueue xserver"
set -e
cd playbooks/edx-east
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment