forked from appium/appium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (50 loc) · 1.52 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
38
39
40
41
42
43
44
45
46
47
48
49
50
language: objective-c
xcode_sdk: 7.1
notifications:
email: true
slack:
secure: E1at9Fi4d2eLagKInwGOfvvcSr8rrVti+N3HzvlcL9UcYavwzfAstMX/nXoHTl8LR5/Dh4Sdja2+NeJp2uVNwlK7aVKk5egQ8q6qAEmcXlWgjqyyTusB1lgiaOQnbOuqsntg/3X5sP8nz5+V3sggelPnOrVwNCCkVXXSff2SHhE=
rvm:
- 2.1.1
branches:
only:
- master
- "/with\\-ci$/"
git:
submodules: false
env:
global:
- SAUCE_REST_ROOT=https://saucelabs.com/rest/v1
- APPIUM_HOST=ondemand.saucelabs.com
- APPIUM_PORT=80
- SAUCE_USERNAME=appium
- IOS_CONCURRENCY=30
- ANDROID_CONCURRENCY=30
- SELENDROID_CONCURRENCY=10
- GAPPIUM_CONCURRENCY=10
- secure: GXGFbQptLEsKlaWnpOL2EB9hqQ4XBT6tqg7REt5j1h1jYBsfHQHSgSLt1jpzOF5kooXVbw2K7IrZyNVBXEUHR00Hp6O72FBOd+SSj8uPCJBLjAOaJWs0ZtujqGHwHpe6gadFfn0L7q0ffoV5OJVeNHHcuw4f9BaA78fTFNfm1jE=
- HTTP_RETRIES=5
- HTTP_RETRY_DELAY=5000
- DEBUG_CONNECTION=1
- MOCHA_INIT_TIMEOUT=600000
- LAUNCH_TIMEOUT='{"global":90000,"afterSimLaunch":30000}'
matrix:
- CI_CONFIG=unit
- CI_CONFIG=android
- CI_CONFIG=ios
- CI_CONFIG=gappium
- CI_CONFIG=selendroid
before_script:
- gem install --no-rdoc --no-ri appium_doc_lint
- "./ci/installers/install-node.sh"
- 'echo Node.js version: `node -v`'
- npm install -g jshint grunt-cli mocha
- npm install
- "./ci/installers/install-sauce-connect.sh"
- "./ci/before_script_extra.sh"
- "ulimit -n 8000"
# disabling sauce-connect until travis ichef issue is sorted
# - "./ci/start-sauce-connect.sh"
script:
- "./ci/script.sh"
- bash -c 'while true; do ping ondemand.saucelabs.com &> /dev/null; sleep 10; done' &