forked from CocoaPods/CocoaPods
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (29 loc) · 853 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
osx_image: xcode7.3
language: objective-c
cache: bundler
rvm:
# OS X 10.9.5-10.10.0 (2.0.0-p481)
- system
# OS X 10.9.3-10.9.4
- 2.0.0-p451
# OS X 10.9.0-10.9.2
# TODO: currently unavailable: https://github.com/travis-ci/travis-ci/issues/2918
# - 2.0.0-p247
branches:
only:
- master
- /.+-stable$/
before_install:
# There is a bug in travis. When using system ruby, bundler is not
# installed and causes the default install action to fail.
- sudo gem install bundler
# RubyGems 2.0.14 isn't a fun time on 2.0.0p645
- if [ "$(ruby -v | cut -d ' ' -f2)" = "2.0.0p645" ]; then sudo gem update --system; fi
before_script:
- bundle exec pod repo update --silent
script:
- bundle exec rake
- bundle exec danger
addons:
code_climate:
repo_token: 501acd9bc61d80ef6119b69ab42c52fa66cefddcc6724a1e93a79c3d3e32bf55