24 lines
362 B
YAML
24 lines
362 B
YAML
.test_template: &test_definition
|
|
stage: test
|
|
script:
|
|
- bundle install
|
|
- bundle exec rake verify build install
|
|
|
|
test:2.6:
|
|
image: ruby:2.6
|
|
<<: *test_definition
|
|
|
|
test:2.5:
|
|
image: ruby:2.5
|
|
<<: *test_definition
|
|
|
|
test:2.4:
|
|
image: ruby:2.4
|
|
<<: *test_definition
|
|
|
|
deploy:
|
|
stage: deploy
|
|
script:
|
|
- tools/deploy-rubygem.sh
|
|
only:
|
|
- tags
|