diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..3d0b1bb --- /dev/null +++ b/circle.yml @@ -0,0 +1,7 @@ +dependencies: + pre: + - ./build + +test: + override: + - ./runtests diff --git a/scripts/build b/scripts/build index c618f41..49b41dd 100755 --- a/scripts/build +++ b/scripts/build @@ -10,6 +10,3 @@ cordova platform add android echo ">> Building Application source..." npm run build - -echo ">> Compiling Application..." -cordova build android diff --git a/scripts/runtests b/scripts/runtests new file mode 100755 index 0000000..5977f5e --- /dev/null +++ b/scripts/runtests @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -e + +echo ">> Compile application..." +cordova build android + +echo ">> Lint JavaScript..." +npm run Lint