Skip to content

Commit

Permalink
remove codeclimate-test-reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
david942j committed Feb 17, 2018
1 parent b2cef93 commit b4cb630
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
24 changes: 10 additions & 14 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
---
engines:
bundler-audit:
enabled: true
version: "2"
plugins:
duplication:
enabled: true
config:
languages:
- ruby
fixme:
exclude_paths:
- spec/
checks:
method-lines:
enabled: false
rubocop:
enabled: false
ratings:
paths:
- Gemfile.lock
- "**.rb"
exclude_paths:
method-complexity:
config:
threshold: 10
exclude_patterns:
- spec/
12 changes: 10 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
language: ruby
sudo: required
cache: bundler
dist: trusty
os:
- linux
rvm:
- 2.1.0
- 2.1
- 2.2
- 2.3
- 2.4.0
- 2.4
- 2.5
- ruby-head
branches:
only:
- master
matrix:
allow_failures:
- rvm: ruby-head

before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter; chmod +x ./cc-test-reporter; ./cc-test-reporter before-build; fi

before_install:
- gem update --system
- gem install bundler
- gem --version
- sudo apt-get install -qq --force-yes binutils grep

after_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
3 changes: 0 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ GEM
specs:
ast (2.4.0)
bindata (2.4.1)
codeclimate-test-reporter (0.6.0)
simplecov (>= 0.7.1, < 1.0.0)
diff-lcs (1.3)
docile (1.1.5)
elftools (1.0.1)
Expand Down Expand Up @@ -55,7 +53,6 @@ PLATFORMS
ruby

DEPENDENCIES
codeclimate-test-reporter (~> 0.6)
one_gadget!
rake (~> 12.0)
rspec (~> 3.5)
Expand Down
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'
require 'yard'
Expand Down
1 change: 0 additions & 1 deletion one_gadget.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Gem::Specification.new do |s|

s.add_runtime_dependency 'elftools', '~> 1.0'

s.add_development_dependency 'codeclimate-test-reporter', '~> 0.6'
s.add_development_dependency 'rake', '~> 12.0'
s.add_development_dependency 'rspec', '~> 3.5'
s.add_development_dependency 'rubocop', '~> 0.49'
Expand Down
3 changes: 1 addition & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require 'codeclimate-test-reporter'
require 'simplecov'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
[SimpleCov::Formatter::HTMLFormatter, CodeClimate::TestReporter::Formatter]
[SimpleCov::Formatter::HTMLFormatter]
)
SimpleCov.start do
add_filter '/spec/'
Expand Down

0 comments on commit b4cb630

Please sign in to comment.