Try to install openjdk for JRuby
This is necessary so "javac" is available.
This commit is contained in:
parent
dea9bafee1
commit
11e83f911b
|
@ -2,6 +2,7 @@
|
|||
.defaults: &defaults
|
||||
before_script:
|
||||
- apk add --update ragel build-base
|
||||
- if [ "$INSTALL_OPENJDK" == "true" ]; then apk add openjdk8; fi
|
||||
- gem install bundler --no-ri --no-rdoc
|
||||
- ruby --version
|
||||
- gem --version
|
||||
|
@ -27,4 +28,6 @@ Ruby 2.4:
|
|||
|
||||
JRuby 9.1:
|
||||
image: "jruby:9.1-alpine"
|
||||
variables:
|
||||
INSTALL_OPENJDK: true
|
||||
<<: *defaults
|
||||
|
|
Loading…
Reference in New Issue