diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..63932a1 --- /dev/null +++ b/circle.yml @@ -0,0 +1,10 @@ +## Customize the test machine +machine: + python: + version: 3.5.0 + node: + version: 5.3.0 + +test: + override: + - scripts/runtests.sh diff --git a/scripts/runtests.sh b/scripts/runtests.sh new file mode 100644 index 0000000..58365e9 --- /dev/null +++ b/scripts/runtests.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +set -e + +echo ">> Validating JSON..." +npm install jsonlint -g +jsonlint -q *.json + + +echo ">> Validating Python..." +pip install flake8 + +flake8 * --ignore=E128,E501