Commit 87053651 authored by Kyle Fuller's avatar Kyle Fuller

[travis] Simplify configuration and use bundler cache

parent b5e2883b
# Sets Travis to run the Ruby specs on OS X machines to be as close as possible os:
# to the user environment. - osx
# language: ruby
language: objective-c cache: bundler
addons: rvm:
code_climate: - system
repo_token: 501acd9bc61d80ef6119b69ab42c52fa66cefddcc6724a1e93a79c3d3e32bf55
env:
- RVM_RUBY_VERSION=system
# - RVM_RUBY_VERSION=1.8.7-p358
before_install: before_install:
- export LANG=en_US.UTF-8 # There is a bug in travis. When using system ruby, bundler is not
- curl http://curl.haxx.se/ca/cacert.pem -o /usr/local/share/cacert.pem # installed and causes the default install action to fail.
- source ~/.rvm/scripts/rvm - sudo gem install bundler
- if [[ $RVM_RUBY_VERSION != 'system' ]]; then rvm install $RVM_RUBY_VERSION; fi
- rvm use $RVM_RUBY_VERSION
- if [[ $RVM_RUBY_VERSION == 'system' ]]; then sudo gem install bundler --no-ri --no-rdoc; else gem install bundler --no-ri --no-rdoc; fi
install: after_install:
- sudo bundle install --without=documentation
# CocoaPods/CocoaPods specific
- ./bin/pod repo update --silent - ./bin/pod repo update --silent
script: bundle exec rake spec addons:
code_climate:
repo_token: 501acd9bc61d80ef6119b69ab42c52fa66cefddcc6724a1e93a79c3d3e32bf55
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment