Skip to content

Commit b256286

Browse files
author
Ricard Forniol
committed
Make code climate reporting work
1 parent 30537c3 commit b256286

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ services:
1212
env:
1313
- CODECLIMATE_REPO_TOKEN=b216164ab66da464aa02fe5b862811ba0526c8dc7ea291ebe53056be4b6b5e1f
1414

15-
script: "bundle exec rspec"
15+
script:
16+
- bundle exec rspec
17+
- bundle exec codeclimate-test-reporter

spec/spec_helper.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
require "simplecov"
12
require "codeclimate-test-reporter"
2-
CodeClimate::TestReporter.start
3+
SimpleCov.start
34

45
$: << File.expand_path("../../lib", __FILE__)
56

0 commit comments

Comments
 (0)