forked from storesafe/cordova-sqlcipher-adapter
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
29 lines (24 loc) · 1.12 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
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.4"
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/regexp-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/cipher.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/basic-sql-tx-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date && cp ${SPEC_WWW_DIR}/spec/sql-batch-test.js ${TESTS_PATH} && ${CORDOVA_PARAMEDIC_CMD}
- date