Skip to content

Commit

Permalink
First attempt at migrating to new Code Climate test reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfioravanti committed Feb 4, 2018
1 parent a6763c1 commit 6d54572
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ before_install:
# https://github.com/sickill/rainbow/issues/44
- gem update --system
- gem install i18n rspec bundler
before_script:
- 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
script:
# Ensure gem dependencies do not have known vulnerabilities
- bin/bundle-audit check --update
Expand All @@ -36,6 +40,9 @@ script:
- ruby resume.rb <<< "no\n"
- ruby resume.rb -l it <<< "no\n"
- ruby resume.rb -l ja <<< "no\n"
after_success:
after_script:
# Send results to Code Climate
- bin/codeclimate-test-reporter
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
# after_success:
# # Send results to Code Climate
# - bin/codeclimate-test-reporter
3 changes: 0 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ GEM
simplecov
codeclimate-engine-rb (0.4.1)
virtus (~> 1.0)
codeclimate-test-reporter (1.0.7)
simplecov
codecov (0.1.10)
json
simplecov
Expand Down Expand Up @@ -187,7 +185,6 @@ DEPENDENCIES
bundler (~> 1.11)
bundler-audit (~> 0.5)
codacy-coverage (~> 1.1)
codeclimate-test-reporter (~> 1.0)
codecov (~> 0.1)
coveralls (~> 0.8)
fuubar (~> 2.3)
Expand Down
2 changes: 1 addition & 1 deletion resume.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "bundler", "~> 1.11"
spec.add_development_dependency "bundler-audit", "~> 0.5"
spec.add_development_dependency "codacy-coverage", "~> 1.1"
spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0"
# spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0"
spec.add_development_dependency "codecov", "~> 0.1"
spec.add_development_dependency "coveralls", "~> 0.8"
spec.add_development_dependency "fuubar", "~> 2.3"
Expand Down

0 comments on commit 6d54572

Please sign in to comment.