mirror of
https://gitlab.com/ydkn/capistrano-rails-console.git
synced 2023-02-13 20:54:14 -05:00
update gitlab ci
This commit is contained in:
parent
92831fe312
commit
42cd9edc96
1 changed files with 3 additions and 13 deletions
|
@ -1,15 +1,5 @@
|
|||
image: ruby:2.5-slim
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- vendor/ruby
|
||||
|
||||
before_script:
|
||||
- apt-get update -q && apt-get install git build-essential -yqq
|
||||
- ruby -v
|
||||
- gem install bundler --no-ri --no-rdoc
|
||||
- bundle install -j $(nproc) --path vendor
|
||||
|
||||
rubocop:
|
||||
image: ruby:2.5
|
||||
script:
|
||||
- bundle exec rubocop
|
||||
- gem install rubocop --no-ri --no-rdoc
|
||||
- rubocop
|
||||
|
|
Loading…
Reference in a new issue