1
1
language : ruby
2
+ sudo : false
2
3
bundler_args : --without development
3
4
script : rake spec
4
5
branches :
@@ -34,13 +35,72 @@ before_script:
34
35
- export JRUBY_VERSION="1.7.13"
35
36
- jruby -S gem env || true
36
37
before_install :
38
+ # NOTE: RubyGems 2.4.x fails us at application_spec's gem_install_rack_unless_installed !
39
+ - (jruby --1.9 -S gem update --system 2.2.3) || true
37
40
- ((jruby -v | grep 1.8.7) && jruby --1.9 -S gem update --system 2.1.11) || true
38
41
- ((echo $BUNDLE_GEMFILE | grep rails23) && jruby --1.9 -S gem update --system 1.8.29) || true
39
42
matrix :
40
43
allow_failures :
41
- - rvm : jruby-head
44
+ # - rvm: jruby-head
42
45
# - gemfile: gemfiles/rails41.gemfile
43
46
exclude :
47
+ # # avoid jruby-head with JDK6 :
48
+ - rvm : jruby-head
49
+ gemfile : Gemfile
50
+ env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
51
+ jdk : openjdk6
52
+ - rvm : jruby-head
53
+ gemfile : Gemfile
54
+ env : JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
55
+ jdk : openjdk6
56
+ - rvm : jruby-head
57
+ gemfile : gemfiles/rails23.gemfile
58
+ env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
59
+ jdk : openjdk6
60
+ - rvm : jruby-head
61
+ gemfile : gemfiles/rails23.gemfile
62
+ env : JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
63
+ jdk : openjdk6
64
+ - rvm : jruby-head
65
+ gemfile : gemfiles/rails30.gemfile
66
+ env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
67
+ jdk : openjdk6
68
+ - rvm : jruby-head
69
+ gemfile : gemfiles/rails30.gemfile
70
+ env : JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
71
+ jdk : openjdk6
72
+ - rvm : jruby-head
73
+ gemfile : gemfiles/rails31.gemfile
74
+ env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
75
+ jdk : openjdk6
76
+ - rvm : jruby-head
77
+ gemfile : gemfiles/rails31.gemfile
78
+ env : JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
79
+ jdk : openjdk6
80
+ - rvm : jruby-head
81
+ gemfile : gemfiles/rails32.gemfile
82
+ env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
83
+ jdk : openjdk6
84
+ - rvm : jruby-head
85
+ gemfile : gemfiles/rails32.gemfile
86
+ env : JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
87
+ jdk : openjdk6
88
+ - rvm : jruby-head
89
+ gemfile : gemfiles/rails40.gemfile
90
+ env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
91
+ jdk : openjdk6
92
+ - rvm : jruby-head
93
+ gemfile : gemfiles/rails40.gemfile
94
+ env : JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
95
+ jdk : openjdk6
96
+ - rvm : jruby-head
97
+ gemfile : gemfiles/rails41.gemfile
98
+ env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
99
+ jdk : openjdk6
100
+ - rvm : jruby-head
101
+ gemfile : gemfiles/rails41.gemfile
102
+ env : JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
103
+ jdk : openjdk6
44
104
# # rails 4.0 does not run on --1.8
45
105
- rvm : jruby
46
106
gemfile : gemfiles/rails40.gemfile
@@ -68,10 +128,10 @@ matrix:
68
128
env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
69
129
jdk : oraclejdk8
70
130
# # rails 4.0 does not run on --1.8 (jruby-head)
71
- - rvm : jruby-head
72
- gemfile : gemfiles/rails40.gemfile
73
- env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
74
- jdk : openjdk6
131
+ # - rvm: jruby-head
132
+ # gemfile: gemfiles/rails40.gemfile
133
+ # env: JRUBY_OPTS="--1.8 $JRUBY_OPTS"
134
+ # jdk: openjdk6
75
135
- rvm : jruby-head
76
136
gemfile : gemfiles/rails40.gemfile
77
137
env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
@@ -81,10 +141,10 @@ matrix:
81
141
env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
82
142
jdk : oraclejdk8
83
143
# # rails 4.1 won't run on --1.8 (jruby-head)
84
- - rvm : jruby-head
85
- gemfile : gemfiles/rails41.gemfile
86
- env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
87
- jdk : openjdk6
144
+ # - rvm: jruby-head
145
+ # gemfile: gemfiles/rails41.gemfile
146
+ # env: JRUBY_OPTS="--1.8 $JRUBY_OPTS"
147
+ # jdk: openjdk6
88
148
- rvm : jruby-head
89
149
gemfile : gemfiles/rails41.gemfile
90
150
env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
@@ -94,10 +154,10 @@ matrix:
94
154
env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
95
155
jdk : oraclejdk8
96
156
# # rails 3.2 jruby-head won't support --1.8
97
- - rvm : jruby-head
98
- gemfile : gemfiles/rails32.gemfile
99
- env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
100
- jdk : openjdk6
157
+ # - rvm: jruby-head
158
+ # gemfile: gemfiles/rails32.gemfile
159
+ # env: JRUBY_OPTS="--1.8 $JRUBY_OPTS"
160
+ # jdk: openjdk6
101
161
- rvm : jruby-head
102
162
gemfile : gemfiles/rails32.gemfile
103
163
env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
@@ -156,10 +216,10 @@ matrix:
156
216
env : JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
157
217
jdk : openjdk6
158
218
# # do not run with 2.3 (jruby-head) :
159
- - rvm : jruby-head
160
- gemfile : gemfiles/rails23.gemfile
161
- env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
162
- jdk : openjdk6
219
+ # - rvm: jruby-head
220
+ # gemfile: gemfiles/rails23.gemfile
221
+ # env: JRUBY_OPTS="--1.8 $JRUBY_OPTS"
222
+ # jdk: openjdk6
163
223
- rvm : jruby-head
164
224
gemfile : gemfiles/rails23.gemfile
165
225
env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
@@ -181,10 +241,10 @@ matrix:
181
241
env : JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
182
242
jdk : oraclejdk8
183
243
# # do not run with 3.0 (jruby-head) :
184
- - rvm : jruby-head
185
- gemfile : gemfiles/rails30.gemfile
186
- env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
187
- jdk : openjdk6
244
+ # - rvm: jruby-head
245
+ # gemfile: gemfiles/rails30.gemfile
246
+ # env: JRUBY_OPTS="--1.8 $JRUBY_OPTS"
247
+ # jdk: openjdk6
188
248
- rvm : jruby-head
189
249
gemfile : gemfiles/rails30.gemfile
190
250
env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
@@ -193,10 +253,10 @@ matrix:
193
253
gemfile : gemfiles/rails30.gemfile
194
254
env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
195
255
jdk : oraclejdk8
196
- - rvm : jruby-head
197
- gemfile : gemfiles/rails30.gemfile
198
- env : JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
199
- jdk : openjdk6
256
+ # - rvm: jruby-head
257
+ # gemfile: gemfiles/rails30.gemfile
258
+ # env: JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
259
+ # jdk: openjdk6
200
260
- rvm : jruby-head
201
261
gemfile : gemfiles/rails30.gemfile
202
262
env : JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
@@ -206,10 +266,10 @@ matrix:
206
266
env : JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
207
267
jdk : oraclejdk8
208
268
# # do not run with 3.1 (jruby-head) :
209
- - rvm : jruby-head
210
- gemfile : gemfiles/rails31.gemfile
211
- env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
212
- jdk : openjdk6
269
+ # - rvm: jruby-head
270
+ # gemfile: gemfiles/rails31.gemfile
271
+ # env: JRUBY_OPTS="--1.8 $JRUBY_OPTS"
272
+ # jdk: openjdk6
213
273
- rvm : jruby-head
214
274
gemfile : gemfiles/rails31.gemfile
215
275
env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
@@ -218,10 +278,10 @@ matrix:
218
278
gemfile : gemfiles/rails31.gemfile
219
279
env : JRUBY_OPTS="--1.8 $JRUBY_OPTS"
220
280
jdk : oraclejdk8
221
- - rvm : jruby-head
222
- gemfile : gemfiles/rails31.gemfile
223
- env : JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
224
- jdk : openjdk6
281
+ # - rvm: jruby-head
282
+ # gemfile: gemfiles/rails31.gemfile
283
+ # env: JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
284
+ # jdk: openjdk6
225
285
- rvm : jruby-head
226
286
gemfile : gemfiles/rails31.gemfile
227
287
env : JRUBY_OPTS="$JRUBY_OPTS" JAVA_OPTS="-Djruby.version=$JRUBY_VERSION"
0 commit comments