forked from appium-boneyard/appium-ios-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (27 loc) · 841 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
sudo: required
env:
# Run tests in parellel, up to 5 at once
- DEVICE=ios84 FINAL_GULP=coveralls
- DEVICE=ios84 TEST=e2e/driver
- DEVICE=ios84 TEST=e2e/testapp RECURSIVE=1
- DEVICE=ios84 TEST=e2e/uicatalog RECURSIVE=1
- DEVICE=ios84 TEST=e2e/safari RECURSIVE=1
language:
- objective-c
osx_image: xcode6.4
node_js:
- "0.12"
before_install:
# Instruments fix:
# https://github.com/travis-ci/travis-ci/issues/4218
- ./bin/instruments-auth.sh
before_script:
- npm install
- pushd node_modules/sample-apps && npm install ios-test-app && popd
- npm install -g gulp
- npm install -g mocha
- gulp transpile
- gulp eslint
script:
- if [ -n "$RECURSIVE" ]; then mocha --recursive build/test/$TEST -g @skip-ci -i; else mocha build/test/$TEST -g @skip-ci -i; fi
- if [ -n "$FINAL_GULP" ]; then gulp $FINAL_GULP; fi