Fixed the GitLab CI YAML

This commit is contained in:
Yorick Peterse 2017-11-02 02:39:40 +01:00
parent 5d1d7fd1d8
commit e811b511b0
No known key found for this signature in database
GPG Key ID: EDD30D2BEB691AC9
1 changed files with 16 additions and 15 deletions

View File

@ -1,27 +1,28 @@
---
.defaults: &defaults
before_script:
- sudo apk add --update ragel=6.9
- gem install bundler --no-ri --no-rdoc
- ruby --version
- gem --version
- bundle --version
- bundle install -j $(nproc) --path vendor --retry=3
script:
- bundle exec rake
cache:
paths:
- vendor/ruby
before_script:
- sudo apk add --update ragel=6.9
- gem install bundler --no-ri --no-rdoc
- ruby --version
- gem --version
- bundle --version
- bundle install -j $(nproc) --path vendor --retry=3
script:
- bundle exec rake
cache:
paths:
- vendor/ruby
Ruby 2.2:
image: "ruby:2.2-alpine"
image: "ruby:2.2-alpine"
<<: *defaults
Ruby 2.3:
image: "ruby:2.3-alpine"
image: "ruby:2.3-alpine"
<<: *defaults
Ruby 2.4:
image: "ruby:2.4-alpine"
image: "ruby:2.4-alpine"
<<: *defaults
JRuby 9.1: