oga/.gitlab-ci.yml

38 lines
686 B
YAML
Raw Normal View History

2017-11-02 01:39:40 +00:00
---
2017-11-02 01:13:00 +00:00
.defaults: &defaults
2017-11-02 01:39:40 +00:00
before_script:
- apk add --update ragel build-base
- if [ "$INSTALL_OPENJDK" == "true" ]; then apk add openjdk8; fi
2019-11-05 12:38:17 +00:00
- gem install bundler --no-document
2017-11-02 01:39:40 +00:00
- ruby --version
- gem --version
- bundle --version
- bundle install --path vendor --retry=3
2017-11-02 01:39:40 +00:00
script:
- bundle exec rake
cache:
paths:
- vendor/ruby
2017-11-02 01:13:00 +00:00
Ruby 2.3:
2017-11-02 01:39:40 +00:00
image: "ruby:2.3-alpine"
2017-11-02 01:13:00 +00:00
<<: *defaults
Ruby 2.4:
2017-11-02 01:39:40 +00:00
image: "ruby:2.4-alpine"
2017-11-02 01:13:00 +00:00
<<: *defaults
2019-11-05 12:38:17 +00:00
Ruby 2.5:
image: "ruby:2.5-alpine"
<<: *defaults
Ruby 2.6:
image: "ruby:2.6-alpine"
<<: *defaults
2017-11-02 01:13:00 +00:00
JRuby 9.1:
image: "jruby:9.1-alpine"
variables:
2017-11-02 13:13:18 +00:00
INSTALL_OPENJDK: "true"
2017-11-02 01:13:00 +00:00
<<: *defaults