Added tests
This commit is contained in:
parent
9a13fd31c7
commit
f1b2559b54
2 changed files with 23 additions and 0 deletions
10
circle.yml
Normal file
10
circle.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
## Customize the test machine
|
||||
machine:
|
||||
python:
|
||||
version: 3.5.0
|
||||
node:
|
||||
version: 5.3.0
|
||||
|
||||
test:
|
||||
override:
|
||||
- scripts/runtests.sh
|
13
scripts/runtests.sh
Normal file
13
scripts/runtests.sh
Normal file
|
@ -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
|
Loading…
Reference in a new issue