forked from calabash/calabash-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (35 loc) · 1.57 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
language: objective-c
before_script:
- gem install luffa --no-document --env-shebang --no-prerelease
- gem install xcpretty --no-document --env-shebang --no-prerelease
- gem install dotenv --no-document --env shebang --no-prerelease
- gem install xamarin-test-cloud --no-document --env shebang --no-prerelease
- luffa authorize
- script/ci/travis/install-dot-gemrc.rb
- script/ci/travis/clone-and-install-run-loop.rb
- script/ci/travis/install-gem-libs.rb
script:
# Skip XTC run on all but the latest to avoid redundant testing; the ruby version
# is immaterial.
- if [[ ( ! -z $XTC_API_TOKEN && ! -z $XTC_USER && `ruby -e 'print RUBY_VERSION'` == '2.2.3' ) ]]; then script/ci/travis/xtc-submit-ci.rb; fi
- script/ci/travis/bundle-install.rb
- script/ci/travis/install-gem-ci.rb
- script/ci/travis/rspec-ci.rb
rvm:
- 2.1.7
- 2.2.3
notifications:
email:
recipients:
on_success: change
on_failure: always
env:
global:
# xtc api token => script/ci/travis/xtc-submit-ci.rb
# xtc user => script/ci/travis/xtc-submit-ci.rb
# -r calabash/calabash-ios
- secure: "Fl27YECPUQ1eK3lcUiG8WgbKvvEBm9KG+sFt3nsUc1TLATwBCeL3jU+CDTFUZYh509G/L0p3k1VfOKoRubwyuKI1NRAg2qr5e1YhiMblA8QdgGuPZS6o5mgmYKCG6wriKsHFLrGETwtJF9gBugwPHs9NGe7AMyqGk+Q3j+zmdJY="
- secure: "pE7fLQ1ZYSVH3PD700kN8ygwMQcSbRXCthkNXUhp16zGx5mQLBGGffmCz6HhiURHAjSmjRu2XlCvIx95Lg0XKPe/zATYsLiBMyFNdZNwIFHEFSWFLCuaVXEzdXVNuLJOS8vHLBsVi6GFagwk1Qi+0x2FrtbZXz/u2Qk99gtuf18="