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.
/.bundle
/vendor/bundle
# Ignore SimpleCov directory.
/coverage

View File

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

View File

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