Add codeclimate-test-reporter integration
This commit is contained in:
parent
4b0642cc6d
commit
2590883c3a
1
Gemfile
1
Gemfile
|
@ -10,4 +10,5 @@ group :test do
|
||||||
gem 'rubocop'
|
gem 'rubocop'
|
||||||
gem 'coveralls', require: false
|
gem 'coveralls', require: false
|
||||||
gem 'simplecov', require: false
|
gem 'simplecov', require: false
|
||||||
|
gem "codeclimate-test-reporter"
|
||||||
end
|
end
|
||||||
|
|
|
@ -5,6 +5,8 @@ GEM
|
||||||
ast (2.0.0)
|
ast (2.0.0)
|
||||||
astrolabe (1.3.0)
|
astrolabe (1.3.0)
|
||||||
parser (>= 2.2.0.pre.3, < 3.0)
|
parser (>= 2.2.0.pre.3, < 3.0)
|
||||||
|
codeclimate-test-reporter (0.4.7)
|
||||||
|
simplecov (>= 0.7.1, < 1.0.0)
|
||||||
colorize (0.7.5)
|
colorize (0.7.5)
|
||||||
coveralls (0.7.12)
|
coveralls (0.7.12)
|
||||||
multi_json (~> 1.10)
|
multi_json (~> 1.10)
|
||||||
|
@ -94,6 +96,7 @@ PLATFORMS
|
||||||
ruby
|
ruby
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
|
codeclimate-test-reporter
|
||||||
colorize
|
colorize
|
||||||
coveralls
|
coveralls
|
||||||
github_api
|
github_api
|
||||||
|
|
|
@ -15,11 +15,14 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
require 'coveralls'
|
require 'codeclimate-test-reporter'
|
||||||
require 'simplecov'
|
require 'simplecov'
|
||||||
|
require 'coveralls'
|
||||||
|
|
||||||
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
||||||
|
Coveralls::SimpleCov::Formatter,
|
||||||
SimpleCov::Formatter::HTMLFormatter,
|
SimpleCov::Formatter::HTMLFormatter,
|
||||||
Coveralls::SimpleCov::Formatter
|
CodeClimate::TestReporter::Formatter
|
||||||
]
|
]
|
||||||
SimpleCov.start
|
SimpleCov.start
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user