Cache bundle

This commit is contained in:
Erik Michaels-Ober 2014-08-15 02:29:57 +02:00
parent 224ad152a1
commit 425417f8e8
3 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@
# Ignore bundler config. # Ignore bundler config.
/.bundle /.bundle
/vendor/bundle
# Ignore SimpleCov directory. # Ignore SimpleCov directory.
/coverage /coverage

View File

@ -6,6 +6,7 @@ AllCops:
- 'bin/*' - 'bin/*'
- 'db/schema.rb' - 'db/schema.rb'
- 'db/seeds.rb' - 'db/seeds.rb'
- 'vendor/bundle/**/*'
# Avoid long parameter lists # Avoid long parameter lists
ParameterLists: ParameterLists:

View File

@ -1,10 +1,10 @@
--- ---
before_install: gem update bundler
before_script: bundle exec rake db:create db:schema:load before_script: bundle exec rake db:create db:schema:load
bundler_args: --without assets:development:production
cache: bundler
script: script:
- bundle exec rake - bundle exec rake
- bundle exec rubocop --rails --fail-level=refactor - bundle exec rubocop --rails --fail-level=refactor
bundler_args: --without assets:development:production
language: ruby language: ruby
rvm: rvm:
- 2.1.2 - 2.1.2