-
Notifications
You must be signed in to change notification settings - Fork 78
/
.travis.yml
41 lines (34 loc) · 933 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
os:
- linux
- osx
rvm:
- jruby-9.1.9.0
- rbx-3
- 2.3
- 2.4
- 2.5
- ruby-head
sudo: false
cache: bundler
before_install:
- "echo 'gem: --no-document' > ~/.gemrc"
# RubyGems update is supported for Ruby 2.3 and later
- ruby -e "system('gem update --system') if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.3')"
- gem install bundler --version '~> 1.17'
before_script:
- 'export JAVA_OPTS="${JAVA_OPTS_FOR_SPECS}"'
env:
global:
matrix:
- CHILDPROCESS_POSIX_SPAWN=true CHILDPROCESS_UNSET=should-be-unset
- CHILDPROCESS_POSIX_SPAWN=false CHILDPROCESS_UNSET=should-be-unset
matrix:
allow_failures:
- rvm: rbx-3
- rvm: jruby-9.1.9.0
- rvm: ruby-head
- env: "CHILDPROCESS_POSIX_SPAWN=true"
include:
- rvm: jruby-9.2.5.0
jdk: openjdk11
env: "JAVA_OPTS_FOR_SPECS='--add-opens java.base/java.io=org.jruby.dist --add-opens java.base/sun.nio.ch=org.jruby.dist'"