aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: e35fba88966e464c9fa8b59e9f17f609bc86c93f (plain) (blame)
1
2
3
4
5
6
7
8
language: python
python: 2.7
sudo: false
script:
# won't fail, but print problems
- find . -name "*.json" -exec echo {} \; -exec python -mjson.tool {} /dev/null \; 2>&1 |grep --before 1 "Expecting" | cat
# will fail, if linting fails
- find . -name "*.json" -print0 | xargs -I file -n1 -0 python -mjson.tool file /dev/null