From 64d2f389f6196859b79e95887ef6326aea09af5d Mon Sep 17 00:00:00 2001 From: maaktweluit Date: Mon, 5 Jun 2017 20:14:01 +0000 Subject: Made check not throw errors with | cat --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 68749e554..dbced1cd9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,6 @@ python: 2.7 sudo: false script: # won't fail, but print problems -- find . -name "*.json" -not -name "*Filler.json" -exec echo {} \; -exec python -mjson.tool {} /dev/null \; 2>&1 |grep -v -B 1 "^\./" +- find . -name "*.json" -not -name "*Filler.json" -exec echo {} \; -exec python -mjson.tool {} /dev/null \; 2>&1 | grep -v -B 1 "^\./" | cat # will fail, if linting fails - find . -name "*.json" -not -name "*Filler.json" -print0 | xargs -I file -n1 -0 python -mjson.tool file /dev/null -- cgit v1.2.3