File tree Expand file tree Collapse file tree 4 files changed +22
-2
lines changed
Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,21 @@ before_install:
1313branches :
1414 only :
1515 - master
16+ env :
17+ global :
18+ - CC_TEST_REPORTER_ID=b32bade44482d3debfa79056a4843ba58c77802d3fb5d358be90692389eec70a
1619jobs :
1720 include :
1821 - stage : test
1922 script : bundle exec rake rubocop
2023 - stage : test
24+ before_script :
25+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
26+ - chmod +x ./cc-test-reporter
27+ - ./cc-test-reporter before-build
2128 script : bundle exec rake spec
29+ after_script :
30+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
2231 - stage : build
2332 script : bundle exec rake build
2433 - stage : gem release
Original file line number Diff line number Diff line change 22
33<!-- [![Gem Version] -->
44
5- [](https://opensource.org/licenses/MIT) [](https://travis-ci.org/shreyasbharath/cpp_dependency_graph) [](https://codeclimate.com/github/shreyasbharath/cpp_dependency_graph/maintainability) [](https://www.codacy.com/app/shreyasbharath/cpp_dependency_graph?utm_source=github.com&utm_medium=referral&utm_content=shreyasbharath/cpp_dependency_graph&utm_campaign=Badge_Grade) [](https://codeclimate.com/github/shreyasbharath/cpp_dependency_graph/test_coverage) [](https://github.com/shreyasbharath/cpp_dependency_graph/releases)
5+ [ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( https://opensource.org/licenses/MIT )
6+ [ ![ Build Status] ( https://travis-ci.org/shreyasbharath/cpp_dependency_graph.svg?branch=master )] ( https://travis-ci.org/shreyasbharath/cpp_dependency_graph )
7+ [ ![ Maintainability] ( https://api.codeclimate.com/v1/badges/2a07b587ca6fc8b1b3db/maintainability )] ( https://codeclimate.com/github/shreyasbharath/cpp_dependency_graph/maintainability )
8+ [ ![ Codacy] ( https://api.codacy.com/project/badge/Grade/9439dbb7fde44b5380401acba5325e62 )] ( https://www.codacy.com/app/shreyasbharath/cpp_dependency_graph?utm_source=github.com& ; utm_medium=referral& ; utm_content=shreyasbharath/cpp_dependency_graph& ; utm_campaign=Badge_Grade )
9+ [ ![ Test Coverage] ( https://api.codeclimate.com/v1/badges/2a07b587ca6fc8b1b3db/test_coverage )] ( https://codeclimate.com/github/shreyasbharath/cpp_dependency_graph/test_coverage )
10+ [ ![ Release] ( https://img.shields.io/github/release/shreyasbharath/cpp_dependency_graph.svg?maxAge=3600 )] ( https://github.com/shreyasbharath/cpp_dependency_graph/releases )
611
712Generates useful component dependency visualisations (` dot ` or ` d3.js ` ) to study the architecture of C/C++ projects.
813
Original file line number Diff line number Diff line change @@ -34,11 +34,12 @@ Gem::Specification.new do |s|
3434 s . add_runtime_dependency 'parallel' , '~> 1.12'
3535
3636 s . add_development_dependency 'bundler' , '~> 1.16'
37- s . add_development_dependency 'coveralls' , '~> 0.8'
3837 s . add_development_dependency 'debase' , '~> 0.2'
3938 s . add_development_dependency 'rake' , '~> 12.3'
4039 s . add_development_dependency 'rspec' , '~> 3.7'
4140 s . add_development_dependency 'rubocop' , '~> 0.54'
4241 s . add_development_dependency 'ruby-debug-ide' , '~> 0.6'
4342 s . add_development_dependency 'ruby-prof' , '~> 0.17'
43+ s . add_development_dependency 'simplecov' , '~> 0.16'
44+ s . add_development_dependency 'simplecov-console' , '~> 0.4'
4445end
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33require 'bundler/setup'
4+ require 'simplecov'
5+ require 'simplecov-console'
46require 'cpp_dependency_graph'
57
68RSpec . configure do |config |
1416 c . syntax = :expect
1517 end
1618end
19+
20+ SimpleCov . formatter = SimpleCov . formatter = SimpleCov ::Formatter ::Console
21+ SimpleCov . start
You can’t perform that action at this time.
0 commit comments