update gitlab ci

This commit is contained in:
Florian Schwab 2018-06-10 12:52:43 +02:00
parent 92831fe312
commit 42cd9edc96
1 changed files with 3 additions and 13 deletions

View File

@ -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