Skip to content

Commit 89e9e18

Browse files
committed
[travis-ci] setup some tests with JDK 9 + adjust allowe failures
1 parent 66b4da3 commit 89e9e18

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.travis.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ sudo: false
33
jdk:
44
- openjdk7
55
- oraclejdk8
6+
7+
addons:
8+
apt:
9+
packages:
10+
- oracle-java9-installer
11+
612
env:
713
- TEST_PROFILE=test-1.7.20
814
- TEST_PROFILE=test-1.7.26
@@ -16,11 +22,7 @@ script: if [[ -v TEST_COMMAND ]]; then $TEST_COMMAND; else mvn verify -P $TEST_P
1622

1723
matrix:
1824
allow_failures:
19-
#- env: TEST_PROFILE=test-1.7.22 # seems as an embed loading bug (same with 1.7.23)
20-
- env: TEST_COMMAND="jruby -S rake integration:install integration:test"
21-
rvm: jruby-1.7.24
22-
- env: TEST_COMMAND="jruby -S rake integration:install integration:test"
23-
rvm: jruby-1.7.21
25+
- jdk: oraclejdk9
2426
include:
2527
- jdk: openjdk7
2628
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -S rake test" BUNDLE_INSTALL=true
@@ -38,6 +40,12 @@ matrix:
3840
- jdk: openjdk7
3941
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn verify -P test-1.7.26" BUNDLE_INSTALL=true RUBY_MAVEN_VERSION=3.3.8
4042
rvm: jruby-1.7.26
43+
- jdk: oraclejdk9
44+
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -S rake test" BUNDLE_INSTALL=true
45+
rvm: jruby-9.1.13.0
46+
- jdk: oraclejdk9
47+
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -S rake test" BUNDLE_INSTALL=true
48+
rvm: jruby-head
4149
#
4250
- jdk: oraclejdk8
4351
env: TEST_COMMAND="jruby -S rake integration:install integration:test"

0 commit comments

Comments
 (0)