Skip to content

Commit

Permalink
chore: use simplecov 0.17 for codeclimate report (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
tian-im authored Feb 20, 2020
1 parent d308904 commit 38f7481
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ before_script:
- mysql -e 'CREATE DATABASE wallaby_active_record_dummy_test;' -uroot
- psql -c 'CREATE DATABASE wallaby_active_record_dummy_test;' -U postgres
# setup code climate test coverage only for `master` branch
- if [ "$TRAVIS_BRANCH" == "master" ]; then curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter; fi
- if [ "$TRAVIS_BRANCH" == "master" ]; then chmod +x ./cc-test-reporter; fi
- if [ "$TRAVIS_BRANCH" == "master" ]; then ./cc-test-reporter before-build; fi
- if [ "$TRAVIS_BRANCH" = "master" ]; then curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter; fi
- if [ "$TRAVIS_BRANCH" = "master" ]; then chmod +x ./cc-test-reporter; fi
- if [ "$TRAVIS_BRANCH" = "master" ]; then ./cc-test-reporter before-build; fi
after_script:
# send code climate the test coverage
- if [ "$TRAVIS_BRANCH" == "master" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
- if [ "$TRAVIS_BRANCH" = "master" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ gem 'pundit'

gem 'better_errors'
gem 'byebug'
gem 'simplecov'
gem 'simplecov', '~> 0.17.0'

gem 'kaminari'
gem 'will_paginate'
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/Gemfile.rails-4.2
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ group :test do
gem 'database_cleaner'
gem 'rails-controller-testing'
gem 'rspec-rails'
gem 'simplecov'
gem 'simplecov', '~> 0.17.0'
gem 'wallaby-cop', git: 'https://github.com/wallaby-rails/wallaby-cop.git', branch: 'master'
gem 'webmock'
end
2 changes: 1 addition & 1 deletion gemfiles/Gemfile.rails-5.0
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ group :test do
gem 'database_cleaner'
gem 'rails-controller-testing'
gem 'rspec-rails'
gem 'simplecov'
gem 'simplecov', '~> 0.17.0'
gem 'wallaby-cop', git: 'https://github.com/wallaby-rails/wallaby-cop.git', branch: 'master'
gem 'webmock'
end
2 changes: 1 addition & 1 deletion gemfiles/Gemfile.rails-5.1
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ group :test do
gem 'database_cleaner'
gem 'rails-controller-testing'
gem 'rspec-rails'
gem 'simplecov'
gem 'simplecov', '~> 0.17.0'
gem 'wallaby-cop', git: 'https://github.com/wallaby-rails/wallaby-cop.git', branch: 'master'
gem 'webmock'
end
2 changes: 1 addition & 1 deletion gemfiles/Gemfile.rails-5.2
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ group :test do
gem 'database_cleaner'
gem 'rails-controller-testing'
gem 'rspec-rails'
gem 'simplecov'
gem 'simplecov', '~> 0.17.0'
gem 'wallaby-cop', git: 'https://github.com/wallaby-rails/wallaby-cop.git', branch: 'master'
gem 'webmock'
end
2 changes: 1 addition & 1 deletion gemfiles/Gemfile.rails-6.0
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ group :test do
gem 'database_cleaner'
gem 'rails-controller-testing'
gem 'rspec-rails', '~> 4.0.0.beta3'
gem 'simplecov'
gem 'simplecov', '~> 0.17.0'
gem 'wallaby-cop', git: 'https://github.com/wallaby-rails/wallaby-cop.git', branch: 'master'
gem 'webmock'
end
2 changes: 1 addition & 1 deletion gemfiles/Gemfile.rails-master
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ group :test do
gem 'database_cleaner'
gem 'rails-controller-testing'
gem 'rspec-rails'
gem 'simplecov'
gem 'simplecov', '~> 0.17.0'
gem 'wallaby-cop', git: 'https://github.com/wallaby-rails/wallaby-cop.git', branch: 'master'
gem 'webmock'
end

0 comments on commit 38f7481

Please sign in to comment.