Cache bundle
This commit is contained in:
parent
224ad152a1
commit
425417f8e8
|
@ -6,6 +6,7 @@
|
|||
|
||||
# Ignore bundler config.
|
||||
/.bundle
|
||||
/vendor/bundle
|
||||
|
||||
# Ignore SimpleCov directory.
|
||||
/coverage
|
||||
|
|
|
@ -6,6 +6,7 @@ AllCops:
|
|||
- 'bin/*'
|
||||
- 'db/schema.rb'
|
||||
- 'db/seeds.rb'
|
||||
- 'vendor/bundle/**/*'
|
||||
|
||||
# Avoid long parameter lists
|
||||
ParameterLists:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue