forked from appium-boneyard/appium-ios-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (30 loc) · 958 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
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
before_install:
# TavisCI's OSX environment gives us node 0.10.32
# Use NVM to update it to 0.12
- rm -rf ~/.nvm
- git clone https://github.com/creationix/nvm.git ~/.nvm
- source ~/.nvm/nvm.sh
- nvm install 0.12
# Instruments fix:
# https://github.com/travis-ci/travis-ci/issues/4218
- ./bin/instruments-auth.sh
before_script:
- npm install
- npm install -g gulp
- npm install -g mocha
- gulp transpile
- gulp jshint
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