forked from appium-boneyard/appium-ios-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 935 Bytes
/
.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
sudo: required
env:
global:
- MOCHA_INIT_TIMEOUT=600000
matrix:
# Run tests in parellel
- DEVICE=ios93 TEST=unit COVERALLS=1
- DEVICE=ios93 TEST=e2e/driver RECURSIVE=1 IWDP=1
- DEVICE=ios93 TEST=e2e/testapp RECURSIVE=1
- DEVICE=ios93 TEST=e2e/uicatalog RECURSIVE=1
- DEVICE=ios93 TEST=e2e/safari RECURSIVE=1
language: node_js
os: osx
osx_image: xcode7.3
node_js: "6"
before_install:
# Instruments fix:
# https://github.com/travis-ci/travis-ci/issues/4218
- ./bin/instruments-auth.sh
- if [ -n "$IWDP" ]; then
brew update;
brew install ios-webkit-debug-proxy --HEAD;
fi
before_script:
- npm install
script:
- npm run lint
- if [ -n "$RECURSIVE" ]; then
npm run mocha -- --recursive build/test/$TEST -g @skip-ci -i --exit;
else
npm run mocha -- build/test/$TEST -g @skip-ci -i --exit;
fi
after_success:
- if [ -n "$COVERALLS" ]; then npm run coverage; fi