diff --git a/.travis.yml b/.travis.yml index 151df229..9187cd41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,10 @@ sudo: false +before_install: + - gem update simplecov + rvm: + - 2.4.0 - 2.3.0 - 2.2 - 2.1 diff --git a/spec/coverage.rb b/spec/coverage.rb index 9179c632..d81998df 100644 --- a/spec/coverage.rb +++ b/spec/coverage.rb @@ -7,5 +7,5 @@ formatters << Coveralls::SimpleCov::Formatter end -SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[*formatters] +SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(formatters) SimpleCov.start