Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds CodeClimate Test Coverage Integration Travis #22

Merged
merged 4 commits into from
Jun 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
---
env:
global:
- CC_TEST_REPORTER_ID=14e44606da2a63d71ca633697a14e2d5a6f87e75f8159040e1452ef80ee4b77b
language: ruby
before_install:
- gem update --system --no-document
- gem install bundler --no-document
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:
- bundle exec rspec
- bundle exec rubocop
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT -t simplecov
8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ GEM
crack (0.4.3)
safe_yaml (~> 1.0.0)
diff-lcs (1.3)
docile (1.3.2)
factory_bot (5.0.2)
activesupport (>= 4.2.0)
ffi (1.11.1)
Expand All @@ -49,6 +50,7 @@ GEM
i18n (1.6.0)
concurrent-ruby (~> 1.0)
jaro_winkler (1.5.3)
json (2.2.0)
jwt (2.2.1)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
Expand Down Expand Up @@ -101,6 +103,11 @@ GEM
ruby_dep (1.5.0)
safe_yaml (1.0.5)
shellany (0.0.1)
simplecov (0.16.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
thor (0.20.3)
thread_safe (0.3.6)
timecop (0.9.1)
Expand All @@ -124,6 +131,7 @@ DEPENDENCIES
rake (~> 10.0)
rspec (~> 3.0)
rubocop (~> 0.71.0)
simplecov (~> 0.16.1)
timecop (~> 0.9.1)
webmock (~> 3.6.0)

Expand Down
1 change: 1 addition & 0 deletions app_store_connect.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rubocop', '~> 0.71.0'
spec.add_development_dependency 'simplecov', '~> 0.16.1'
spec.add_development_dependency 'timecop', '~> 0.9.1'
spec.add_development_dependency 'webmock', '~> 3.6.0'
end