diff options
author | maaktweluit <maaktweluit@gmail.com> | 2017-06-06 03:22:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-06 03:22:40 +0800 |
commit | a43001b9716b3c72092bd310ccf141aa8d7d7244 (patch) | |
tree | 6ac58521b1d1cbb6a15247f5c12f1a73477253f1 /.travis.yml | |
parent | 7a624724954e5b4c06d4ae6e3ecda3123aedca1b (diff) | |
download | tangerine-tests-a43001b9716b3c72092bd310ccf141aa8d7d7244.tar tangerine-tests-a43001b9716b3c72092bd310ccf141aa8d7d7244.tar.gz tangerine-tests-a43001b9716b3c72092bd310ccf141aa8d7d7244.tar.bz2 tangerine-tests-a43001b9716b3c72092bd310ccf141aa8d7d7244.tar.lz tangerine-tests-a43001b9716b3c72092bd310ccf141aa8d7d7244.tar.xz tangerine-tests-a43001b9716b3c72092bd310ccf141aa8d7d7244.tar.zst tangerine-tests-a43001b9716b3c72092bd310ccf141aa8d7d7244.zip |
Update travis.yml with Filler exclude
- Excluded *Filler.json from checking
- Excluded *Filler.json from linting
- Updated check output to print all "lines not starting with "./" and the line before" containing the affected file and error close together.
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 e35fba889..68749e554 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" -exec echo {} \; -exec python -mjson.tool {} /dev/null \; 2>&1 |grep --before 1 "Expecting" | cat +- find . -name "*.json" -not -name "*Filler.json" -exec echo {} \; -exec python -mjson.tool {} /dev/null \; 2>&1 |grep -v -B 1 "^\./" # will fail, if linting fails -- find . -name "*.json" -print0 | xargs -I file -n1 -0 python -mjson.tool file /dev/null +- find . -name "*.json" -not -name "*Filler.json" -print0 | xargs -I file -n1 -0 python -mjson.tool file /dev/null |