2018-03-22 18:01:53 -04:00
|
|
|
sudo: false
|
2018-04-09 22:46:27 -04:00
|
|
|
cache: bundler
|
2018-03-22 18:01:53 -04:00
|
|
|
language: ruby
|
|
|
|
rvm:
|
2019-06-14 19:23:48 -04:00
|
|
|
- 2.6
|
2018-04-10 01:41:40 -04:00
|
|
|
- 2.5
|
|
|
|
- 2.4
|
|
|
|
- 2.3
|
2018-03-22 18:01:53 -04:00
|
|
|
before_install: gem install bundler -v 1.16.1
|
2018-04-09 22:46:27 -04:00
|
|
|
|
2018-04-10 01:41:40 -04:00
|
|
|
stages:
|
|
|
|
- analyze
|
|
|
|
- test
|
|
|
|
- deploy
|
|
|
|
|
2018-04-09 22:46:27 -04:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: test
|
|
|
|
script: bundle exec rspec
|
2018-04-10 01:41:40 -04:00
|
|
|
- stage: analyze
|
|
|
|
script: bundle exec rubocop
|
|
|
|
rvm: 2.5
|