Commit 3f535a3c by John Jarvis

Merge pull request #921 from edx/jarv/add-json-lint-to-travis

adding json lint check
parents 4b44b3ee 2bb878f0
......@@ -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