aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2016-07-14 16:36:17 +0800
committerDimitry <winsvega@mail.ru>2016-07-14 16:36:17 +0800
commitdfba65c81f4ccdbaf539ae11cc8a4acfa33e7fba (patch)
tree3e394491f97b324de87c29648f74d402e72b114e
parent5d958c3f21457d77155ba870ae789f8f02554feb (diff)
downloaddexon-tests-dfba65c81f4ccdbaf539ae11cc8a4acfa33e7fba.tar
dexon-tests-dfba65c81f4ccdbaf539ae11cc8a4acfa33e7fba.tar.gz
dexon-tests-dfba65c81f4ccdbaf539ae11cc8a4acfa33e7fba.tar.bz2
dexon-tests-dfba65c81f4ccdbaf539ae11cc8a4acfa33e7fba.tar.lz
dexon-tests-dfba65c81f4ccdbaf539ae11cc8a4acfa33e7fba.tar.xz
dexon-tests-dfba65c81f4ccdbaf539ae11cc8a4acfa33e7fba.tar.zst
dexon-tests-dfba65c81f4ccdbaf539ae11cc8a4acfa33e7fba.zip
travis script
-rw-r--r--.travis.yml8
1 files changed, 8 insertions, 0 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