Added CI
This commit is contained in:
parent
3c7bb99256
commit
4829dc365d
3 changed files with 16 additions and 3 deletions
7
circle.yml
Normal file
7
circle.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
dependencies:
|
||||||
|
pre:
|
||||||
|
- ./build
|
||||||
|
|
||||||
|
test:
|
||||||
|
override:
|
||||||
|
- ./runtests
|
|
@ -10,6 +10,3 @@ cordova platform add android
|
||||||
|
|
||||||
echo ">> Building Application source..."
|
echo ">> Building Application source..."
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
echo ">> Compiling Application..."
|
|
||||||
cordova build android
|
|
||||||
|
|
9
scripts/runtests
Executable file
9
scripts/runtests
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo ">> Compile application..."
|
||||||
|
cordova build android
|
||||||
|
|
||||||
|
echo ">> Lint JavaScript..."
|
||||||
|
npm run Lint
|
Reference in a new issue