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:
|
2017-11-02 12:23:40 +00:00
|
|
|
- apk add --update ragel build-base
|
2017-11-02 01:39:40 +00:00
|
|
|
- gem install bundler --no-ri --no-rdoc
|
|
|
|
- ruby --version
|
|
|
|
- gem --version
|
|
|
|
- bundle --version
|
2017-11-02 11:56:53 +00:00
|
|
|
- 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.2:
|
2017-11-02 01:39:40 +00:00
|
|
|
image: "ruby:2.2-alpine"
|
2017-11-02 01:13:00 +00:00
|
|
|
<<: *defaults
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
JRuby 9.1:
|
|
|
|
image: "jruby:9.1-alpine"
|
|
|
|
<<: *defaults
|