Skip to content

Commit

Permalink
Update code-climate coverage gem
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Nov 21, 2016
1 parent e092759 commit cf221e0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ Gemfile.lock
miga-base-*.gem
doc/
_book/
coverage/
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ matrix:
# Run remote tests in only one version
- rvm: 2.1.5
env: REMOTE_TESTS=true
after_script: "bundle exec codeclimate-test-reporter"
# Test with JRuby (for the GUI)
- rvm: jruby-9.0.5.0
env: JRUBY_TESTS=true JRUBY_OPTS="-d"
Expand Down
5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
source "https://rubygems.org"
gemspec name: "miga-base"
gem "codeclimate-test-reporter", group: :test, require: nil
group :test do
gem "simplecov"
gem "codeclimate-test-reporter", "~> 1.0.0"
end
4 changes: 2 additions & 2 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start unless ENV["REMOTE_TESTS"].nil?
require "simplecov"
SimpleCov.start

require "rubygems"
require "test/unit"
Expand Down

0 comments on commit cf221e0

Please sign in to comment.