diff --git a/.travis.yml b/.travis.yml index 6dd5f4fcf..4f9abd1c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,8 @@ gemfile: - Gemfile - Gemfile.1.8.7 +env: COVERAGE=true + rvm: - 1.8.7 - 1.9.2 diff --git a/tests/helper.rb b/tests/helper.rb index 6aa99e9eb..3ea10cab4 100644 --- a/tests/helper.rb +++ b/tests/helper.rb @@ -1,6 +1,6 @@ require 'simplecov' -if ENV['COVERAGE'] != 'false' && RUBY_VERSION != "1.9.2" +if ENV['COVERAGE'] == 'true' && RUBY_VERSION != "1.9.2" require 'coveralls' SimpleCov.command_name "shindo:#{Process.pid.to_s}" SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[