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
|
.defaults: &defaults
|
||||||
before_script:
|
before_script:
|
||||||
- apk add --update ragel build-base
|
- apk add --update ragel build-base
|
||||||
|
- if [ "$INSTALL_OPENJDK" == "true" ]; then apk add openjdk8; fi
|
||||||
- gem install bundler --no-ri --no-rdoc
|
- gem install bundler --no-ri --no-rdoc
|
||||||
- ruby --version
|
- ruby --version
|
||||||
- gem --version
|
- gem --version
|
||||||
|
@ -27,4 +28,6 @@ Ruby 2.4:
|
||||||
|
|
||||||
JRuby 9.1:
|
JRuby 9.1:
|
||||||
image: "jruby:9.1-alpine"
|
image: "jruby:9.1-alpine"
|
||||||
|
variables:
|
||||||
|
INSTALL_OPENJDK: true
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
|
|
Loading…
Reference in New Issue