.gitlab-ci.yml 239 Bytes
Newer Older
Thomas Schneider's avatar
Thomas Schneider committed
1
image: "ruby:2.5"
Thomas Schneider's avatar
Thomas Schneider committed
2 3 4 5 6 7 8 9

# Cache gems in between builds
cache:
  paths:
    - vendor/ruby

before_script:
  - ruby -v
10 11
  - gem install bundler
  - bundle -v
Thomas Schneider's avatar
Thomas Schneider committed
12 13 14 15
  - bundle install -j $(nproc) --path vendor

rubocop:
  script:
16
  - bundle exec rubocop