diff options
author | konradkonrad <konradkonrad@users.noreply.github.com> | 2016-06-29 15:31:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-29 15:31:53 +0800 |
commit | 770aad9285de38c4db2e5f3ef0f6c928cb25d30f (patch) | |
tree | 7a3f56a8aef4c61eae6a250f1e9873d8f2a2fd0c | |
parent | 94fa530a0674dc695211609fc685c59f0ee660b9 (diff) | |
parent | 9cfb49f71e193d2ed95e43afe6eccf2578869cf1 (diff) | |
download | tangerine-tests-770aad9285de38c4db2e5f3ef0f6c928cb25d30f.tar tangerine-tests-770aad9285de38c4db2e5f3ef0f6c928cb25d30f.tar.gz tangerine-tests-770aad9285de38c4db2e5f3ef0f6c928cb25d30f.tar.bz2 tangerine-tests-770aad9285de38c4db2e5f3ef0f6c928cb25d30f.tar.lz tangerine-tests-770aad9285de38c4db2e5f3ef0f6c928cb25d30f.tar.xz tangerine-tests-770aad9285de38c4db2e5f3ef0f6c928cb25d30f.tar.zst tangerine-tests-770aad9285de38c4db2e5f3ef0f6c928cb25d30f.zip |
Merge pull request #107 from konradkonrad/develop
Add automated JSON linting
-rw-r--r-- | .travis.yml | 8 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..e35fba889 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,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 @@ -1,4 +1,4 @@ -tests +tests [![Build Status](https://travis-ci.org/ethereum/tests.svg?branch=develop)](https://travis-ci.org/ethereum/tests) ===== Common tests for all clients to test against. |