Cache bundle
This commit is contained in:
parent
224ad152a1
commit
425417f8e8
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
# Ignore bundler config.
|
# Ignore bundler config.
|
||||||
/.bundle
|
/.bundle
|
||||||
|
/vendor/bundle
|
||||||
|
|
||||||
# Ignore SimpleCov directory.
|
# Ignore SimpleCov directory.
|
||||||
/coverage
|
/coverage
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue