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