@@ -2,83 +2,60 @@ language: ruby
22
33dist : precise # due OpenJDK 7
44jdk :
5- - openjdk7
65 - oraclejdk8
76
8- env :
9- - TEST_PROFILE=test-9.0.5.0
10- - TEST_PROFILE=test-9.1.8.0
11- - TEST_PROFILE=test-9.1.17.0
7+ rvm :
8+ - jruby-9.2.12.0
9+ - jruby-9.2.9.0
10+ - jruby-1.7.27
11+ - jruby-head
1212
1313before_install :
1414 - unset _JAVA_OPTIONS
1515 - unset JRUBY_OPTS
1616 - rvm @default,@global do gem uninstall bundler -a -x -I || true
1717 - gem install bundler -v "~>1.17.3"
1818
19- install : if [[ -v BUNDLE_INSTALL ]]; then jruby -S bundle install; else echo "" ; fi
19+ install : if [[ "$ BUNDLE_INSTALL" != 0 ]]; then jruby -S bundle install; else true ; fi
2020
21- script : if [[ -v TEST_COMMAND ]]; then $TEST_COMMAND; else mvn verify -P $TEST_PROFILE; fi
22-
23- __stub :
24- - &rake_test_command TEST_COMMAND=" jruby -rbundler/setup -S rake test_prepare && jruby -rbundler/setup -S rake test" BUNDLE_INSTALL=true
21+ before_script :
22+ - if [[ "$BUNDLE_INSTALL" != 0 ]]; then jruby -rbundler/setup -S rake test_prepare; else true; fi
23+ - export JRUBY_OPTS="-Xjit.threshold=0"
24+ script : jruby -rbundler/setup -S rake test
2525
2626matrix :
2727 allow_failures :
28- - jdk : openjdk7
29- env : TEST_PROFILE=test-9.0.5.0
30- - jdk : openjdk7
31- env : TEST_PROFILE=test-9.1.8.0
32- - jdk : openjdk7
33- env : TEST_PROFILE=test-9.1.17.0
34- - jdk : oraclejdk11
35- env : TEST_COMMAND="jruby -rbundler/setup -S rake integration:install integration:test" BUNDLE_INSTALL=true
3628 - rvm : jruby-head
29+ - script : jruby -rbundler/setup -S rake integration:install integration:test
3730 include :
38- # since maven runit fails to boot with test-unit being a default gem on 9.2 :
39- - jdk : oraclejdk8
40- env : TEST_COMMAND="jruby -rbundler/setup -S rake test_prepare test" BUNDLE_INSTALL=true
41- rvm : jruby-9.2.12.0
42- #
4331 - jdk : openjdk7
44- env : TEST_COMMAND="jruby -rbundler/setup -S rake test_prepare test" BUNDLE_INSTALL=true
4532 rvm : jruby-1.7.24
46- - jdk : oraclejdk8
47- env : TEST_COMMAND="jruby -rbundler/setup -S rake test_prepare test" BUNDLE_INSTALL=true
48- rvm : jruby-1.7.27
49- #
50- - jdk : openjdk7
51- env : TEST_COMMAND="jruby -rbundler/setup -S rmvn verify -P test-1.7.26" BUNDLE_INSTALL=true
52-
53- rvm : jruby-1.7.26
54- - jdk : oraclejdk8
55- env : TEST_COMMAND="jruby -rbundler/setup -S rake test_prepare test" BUNDLE_INSTALL=true
56- rvm : jruby-9.2.9.0
5733 - jdk : oraclejdk11
58- env : TEST_COMMAND="jruby -rbundler/setup -S rake test_prepare test" BUNDLE_INSTALL=true
5934 rvm : jruby-9.2.11.1
60- - jdk : oraclejdk8
61- env : TEST_COMMAND="jruby -rbundler/setup -S rake test_prepare test" BUNDLE_INSTALL=true
62- rvm : jruby-head
6335 - jdk : oraclejdk11
64- env : TEST_COMMAND="jruby -rbundler/setup -S rake test_prepare test" BUNDLE_INSTALL=true
6536 rvm : jruby-head
6637 #
38+ - jdk : openjdk7
39+ rvm : jruby-9.1.17.0
40+ env : BUNDLE_INSTALL=0
41+ script : mvn verify -P test
6742 - jdk : oraclejdk8
68- env : TEST_COMMAND="jruby -rbundler/setup -S rake integration:install integration:test" BUNDLE_INSTALL=true
69- rvm : jruby-1.7.26
43+ rvm : jruby-9.2.12.0
44+ env : BUNDLE_INSTALL=0
45+ script : mvn verify -P test
46+ #
7047 - jdk : openjdk7
71- env : TEST_COMMAND="jruby -rbundler/setup -S rake integration:install integration:test" BUNDLE_INSTALL=true
7248 rvm : jruby-1.7.27
49+ script : jruby -rbundler/setup -S rake integration:install integration:test
7350 - jdk : oraclejdk8
74- env : TEST_COMMAND="jruby -rbundler/setup -S rake integration:install integration:test" BUNDLE_INSTALL=true
7551 rvm : jruby-9.2.8.0
52+ script : jruby -rbundler/setup -S rake integration:install integration:test
7653 - jdk : openjdk7
77- env : TEST_COMMAND="jruby -rbundler/setup -S rake integration:install integration:test" BUNDLE_INSTALL=true
7854 rvm : jruby-9.1.17.0
55+ script : jruby -rbundler/setup -S rake integration:install integration:test
7956 - jdk : oraclejdk11
80- env : TEST_COMMAND="jruby -rbundler/setup -S rake integration:install integration:test" BUNDLE_INSTALL=true
8157 rvm : jruby-9.2.12.0
58+ script : jruby -rbundler/setup -S rake integration:install integration:test
8259notifications :
8360 irc :
8461 channels :
0 commit comments