diff options
author | Konrad Feldmeier <konrad.feldmeier@brainbot.com> | 2016-03-01 20:36:18 +0800 |
---|---|---|
committer | Konrad Feldmeier <konrad.feldmeier@brainbot.com> | 2016-06-23 19:30:33 +0800 |
commit | 9cfb49f71e193d2ed95e43afe6eccf2578869cf1 (patch) | |
tree | 064f7bb46ef8c98f6acce0e8b8eac23c9c993238 | |
parent | 99afe8f5aad7bca5d0f1b1685390a4dea32d73c3 (diff) | |
download | tangerine-tests-9cfb49f71e193d2ed95e43afe6eccf2578869cf1.tar tangerine-tests-9cfb49f71e193d2ed95e43afe6eccf2578869cf1.tar.gz tangerine-tests-9cfb49f71e193d2ed95e43afe6eccf2578869cf1.tar.bz2 tangerine-tests-9cfb49f71e193d2ed95e43afe6eccf2578869cf1.tar.lz tangerine-tests-9cfb49f71e193d2ed95e43afe6eccf2578869cf1.tar.xz tangerine-tests-9cfb49f71e193d2ed95e43afe6eccf2578869cf1.tar.zst tangerine-tests-9cfb49f71e193d2ed95e43afe6eccf2578869cf1.zip |
Add automated linting
In order to avoid issues like #105
trigger build
-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. |