This repository has been archived by the owner on Sep 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
circle.yml
34 lines (30 loc) · 1.57 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
machine:
environment:
ANDROID_NDK_HOME: $ANDROID_NDK
SPEC_ROOT: spec/www
TESTS_PATH: tests/tests.js
CORDOVA_PARAMEDIC_CMD: cordova-paramedic --platform android --plugin . --timeout 3600000
dependencies:
pre:
- npm install -g cordova-paramedic
- npm install -g cordova
test:
pre:
- emulator -avd circleci-android21 -no-audio -no-window:
background: true
parallel: true
- circle-android wait-for-boot
override:
- cordova-paramedic --platform android --plugin . || echo error-ignored
- cp $SPEC_ROOT/spec/self-test.js $TESTS_PATH && $CORDOVA_PARAMEDIC_CMD
- cp $SPEC_ROOT/spec/db-tx-string-test.js $TESTS_PATH && $CORDOVA_PARAMEDIC_CMD
- cp $SPEC_ROOT/spec/db-tx-sql-results.js $TESTS_PATH && $CORDOVA_PARAMEDIC_CMD
- cp $SPEC_ROOT/spec/sql-batch-test.js $TESTS_PATH && $CORDOVA_PARAMEDIC_CMD
- cp spec/www/spec/regexp-test.js tests/tests.js && cordova-paramedic --platform android --plugin . --timeout 3600000
- cp $SPEC_ROOT/spec/db-simultaneous-tx-access-test.js $TESTS_PATH && $CORDOVA_PARAMEDIC_CMD
- cp $SPEC_ROOT/spec/tx-semantics-test.js $TESTS_PATH && $CORDOVA_PARAMEDIC_CMD
- cp $SPEC_ROOT/spec/db-tx-value-bindings-test.js $TESTS_PATH && $CORDOVA_PARAMEDIC_CMD
- cp $SPEC_ROOT/spec/basic-misc-test.js $TESTS_PATH && $CORDOVA_PARAMEDIC_CMD
- cp $SPEC_ROOT/spec/ext-tx-blob-test.js $TESTS_PATH && $CORDOVA_PARAMEDIC_CMD
- cp $SPEC_ROOT/spec/misc-tx-legacy.js $TESTS_PATH && $CORDOVA_PARAMEDIC_CMD
- cp $SPEC_ROOT/spec/db-open-close-delete-test.js $TESTS_PATH && $CORDOVA_PARAMEDIC_CMD