Skip to content

Commit

Permalink
Fix Code Climate test reporter deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
dwbutler committed Dec 5, 2016
1 parent 204ee52 commit 93dfa45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ services: mongodb
before_script:
- sh -c "if [ '$DATABASE' = 'postgresql' ]; then psql -c 'create database groupify_test;' -U postgres; fi"
- sh -c "if [ '$DATABASE' = 'mysql' ]; then mysql -e 'create database groupify_test;'; fi"
after_success:
bundle exec codeclimate-test-reporter
env:
- DATABASE=sqlite3
- DATABASE=sqlite3mem
Expand All @@ -12,7 +14,7 @@ rvm:
- 2.0.0
- 2.1.9
- 2.2.5
- 2.3.1
- 2.3.3
- jruby-9.0.5.0
- rbx-2
gemfile:
Expand All @@ -29,7 +31,7 @@ matrix:
gemfile: gemfiles/rails_5.0.gemfile
- rvm: 2.2.5
gemfile: gemfiles/rails_3.2.gemfile
- rvm: 2.3.1
- rvm: 2.3.3
gemfile: gemfiles/rails_3.2.gemfile
allow_failures:
- rvm: rbx-2
Expand Down
3 changes: 0 additions & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
]
SimpleCov.start

require "codeclimate-test-reporter"
CodeClimate::TestReporter.start

require 'active_support'
require 'active_support/deprecation'
require 'active_support/dependencies/autoload'
Expand Down

0 comments on commit 93dfa45

Please sign in to comment.