forked from CocoaPods/cocoapods-downloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (34 loc) · 921 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
35
36
37
38
39
40
os:
- osx
language: ruby
branches:
only:
- master
- /.+-stable$/
addons:
code_climate:
repo_token: 4d2c1cec2a5ba5fd0cd09aa76d1bcb52854e12ace21660dbf65a36a59ba7a973
jobs:
include:
- rvm: 2.3.4
osx_image: xcode9
- rvm: 2.5.0
osx_image: xcode11.5
env: INSTALL_SVN=1
- rvm: 2.6.2
osx_image: xcode11.5
env: INSTALL_SVN=1
- rvm: 2.7.0
osx_image: xcode11.5
env: INSTALL_SVN=1
before_install:
# There is a bug in travis. When using system ruby, bundler is not
# installed and causes the default install action to fail.
- if [ "$TRAVIS_RUBY_VERSION" = "system" ]; then sudo gem install "bundler:~> 1.15.0"; else gem install "bundler:~> 1.15.0"; fi
install:
- brew update
- brew install bzr
- if [ "$INSTALL_SVN" = "1" ]; then brew install svn; fi
- bundle install
- git config --global user.name 'CI'
- git config --global user.email '[email protected]'