-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
37 lines (32 loc) · 1.98 KB
/
.travis.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
35
36
37
language: objective-c
env:
global:
- SPEC_WWW_DIR=${TRAVIS_BUILD_DIR}/spec/www
- TESTS_PATH=${TRAVIS_BUILD_DIR}/tests/tests.js
- CORDOVA_PARAMEDIC_CMD="cordova-paramedic --platform ios --plugin ${TRAVIS_BUILD_DIR} --timeout 3600000"
git:
depth: 2
node_js:
- "4.6"
install:
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- npm install -g cordova-paramedic
- npm install -g cordova
- npm install -g ios-sim
script:
- date && cordova-paramedic --platform ios --plugin ${TRAVIS_BUILD_DIR} || echo error-ignored
- date && cp ${SPEC_WWW_DIR}/spec/self-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/db-tx-string-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/db-tx-sql-select-value-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/basic-db-tx-sql-storage-results.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/db-sql-operations-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/sql-batch-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/db-tx-sql-features-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/regexp-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/db-simultaneous-tx-access-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/db-tx-multiple-update-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/tx-semantics-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/db-tx-error-handling-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/db-tx-value-bindings-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/db-tx-error-mapping-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date