Skip to content

Commit

Permalink
use new codeclimate test reporter. remove coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Smith committed Aug 11, 2019
1 parent a1e4d58 commit 8323458
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
12 changes: 10 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ jobs:
working_directory: ~/mittsu
steps:
- checkout

- run:
name: Setup Code Climate test-reporter
command: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
- restore_cache:
keys:
Expand All @@ -68,10 +74,12 @@ jobs:
## TEST
- run:
name: Run tests
command: bundle exec rake test
command: |
./cc-test-reporter before-build
bundle exec rake test
./cc-test-reporter after-build --coverage-input-type simplecov --exit-code $?
## COLLECT RESULTS
- run: bundle exec codeclimate-test-reporter
- store_test_results:
path: test/reports

Expand Down
3 changes: 0 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ source 'https://rubygems.org'

gemspec

gem "codeclimate-test-reporter", group: :test, require: false
gem 'coveralls', group: :test, require: false

if /darwin/ === RUBY_PLATFORM
gem 'ffi', '~> 1.9', '!= 1.11.1'
end
2 changes: 0 additions & 2 deletions test/minitest_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
require 'pry'

require 'simplecov'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
Coveralls::SimpleCov::Formatter,
SimpleCov::Formatter::HTMLFormatter
]
SimpleCov.start do
Expand Down

0 comments on commit 8323458

Please sign in to comment.