From f1b2559b5456dd2d1e01afb284558344301842e2 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 8 Feb 2016 23:16:28 +0000 Subject: [PATCH] Added tests --- circle.yml | 10 ++++++++++ scripts/runtests.sh | 13 +++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 circle.yml create mode 100644 scripts/runtests.sh 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