diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2018-03-20 00:26:44 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2018-03-20 00:51:16 +0800 |
commit | 2f5f7b14cd2365b3f6579e0b5e69974cdb9b2e73 (patch) | |
tree | 81e36ed21aa8a931e9b1d2fd97302096384be228 /.travis.yml | |
parent | 99652d5236474d02adc41c831a75c514c4d3e218 (diff) | |
download | dexon-tests-2f5f7b14cd2365b3f6579e0b5e69974cdb9b2e73.tar dexon-tests-2f5f7b14cd2365b3f6579e0b5e69974cdb9b2e73.tar.gz dexon-tests-2f5f7b14cd2365b3f6579e0b5e69974cdb9b2e73.tar.bz2 dexon-tests-2f5f7b14cd2365b3f6579e0b5e69974cdb9b2e73.tar.lz dexon-tests-2f5f7b14cd2365b3f6579e0b5e69974cdb9b2e73.tar.xz 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.yml | 4 |
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" |