Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ rvm:
- ruby-head
- jruby-9.1.16.0
- jruby-head

matrix:
include:
- rvm: 2.5.3
env: COVERALLS=yes

before_script:
- unset JRUBY_OPTS
- unset _JAVA_OPTIONS
Expand Down
8 changes: 5 additions & 3 deletions test/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
$:.unshift File.expand_path("../../lib", __FILE__)

begin
gem "coveralls"
require "coveralls"
Coveralls.wear!
if ENV['COVERALLS']
gem "coveralls"
require "coveralls"
Coveralls.wear!
end
rescue Gem::LoadError
end

Expand Down