Skip to content

Commit df4d91f

Browse files
committed
Attempt to fix jruby issues.
1 parent 6368d2b commit df4d91f

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.travis.yml

+20-1
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,35 @@
1-
---
21
language: ruby
2+
3+
sudo: false
4+
5+
before_install:
6+
- gem update --system
7+
# bundler installation needed for jruby-head
8+
# https://github.com/travis-ci/travis-ci/issues/5861
9+
- gem install bundler
10+
311
script: "bundle exec rubytest -Ilib test/ --verbose"
412
bundler_args: --without guard
13+
514
rvm:
615
- 2.0.0
716
- 2.1.0
817
- 2.2.4
918
- 2.3.2
1019
- 2.4.0
1120
- rbx
21+
- jruby-9.0.5.0
22+
- jruby-9.1.5.0
1223
- jruby-head
24+
1325
matrix:
1426
allow_failures:
1527
- rvm: rbx
28+
1629
cache: bundler
30+
31+
# Use Java 8 for jruby to fix some Java 7 bugs.
32+
addons:
33+
apt:
34+
packages:
35+
- oracle-java8-set-default

0 commit comments

Comments
 (0)