aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2018-03-20 00:26:44 +0800
committerYoichi Hirai <i@yoichihirai.com>2018-03-20 00:51:16 +0800
commit2f5f7b14cd2365b3f6579e0b5e69974cdb9b2e73 (patch)
tree81e36ed21aa8a931e9b1d2fd97302096384be228 /.travis.yml
parent99652d5236474d02adc41c831a75c514c4d3e218 (diff)
downloaddexon-tests-2f5f7b14cd2365b3f6579e0b5e69974cdb9b2e73.tar.gz
dexon-tests-2f5f7b14cd2365b3f6579e0b5e69974cdb9b2e73.tar.zst
dexon-tests-2f5f7b14cd2365b3f6579e0b5e69974cdb9b2e73.zip
Do not check files in node_modules
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index db91ed687..84b8fa28a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,9 +11,9 @@ sudo: false
install: "npm install jsonschema json-duplicate-key-handle"
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 "^\./" | cat
+- find . -name 'node_modules' -prune -o \( -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
+- find . -name 'node_modules' -prune -o \( -name "*.json" -not -name "*Filler.json" -print0 \) | xargs -I file -n1 -0 python -mjson.tool file /dev/null
# run schema tests against GeneralStateTests
- echo "Linting state tests"