.gitlab-ci.yml 307 Bytes
Newer Older
Zeger-Jan van de Weg's avatar
Zeger-Jan van de Weg committed
1
image: "ruby:2.3"
Pablo Carranza's avatar
Pablo Carranza committed
2 3

before_script:
4 5
  - git config --global user.email "bot@gitlab.com"
  - git config --global user.name "Bot User"
6 7 8 9 10
  - bundle install -j $(nproc) --path vendor

cache:
  paths:
    - vendor
Pablo Carranza's avatar
Pablo Carranza committed
11 12 13

rspec:
  script:
Pablo Carranza's avatar
Pablo Carranza committed
14
    - bundle exec rspec spec -f d -c
Pablo Carranza's avatar
Pablo Carranza committed
15 16

rubocop:
17
  script:
Pablo Carranza's avatar
Pablo Carranza committed
18
    - bundle exec rubocop