File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ source "https://rubygems.org"
3
3
gemspec
4
4
5
5
group :test do
6
+ gem "simplecov"
6
7
gem "rake"
7
8
gem "rspec"
8
9
gem "rspec_junit_formatter"
9
- gem "codeclimate-test-reporter" , require : nil
10
+ gem "codeclimate-test-reporter" , "1.0.0.pre.rc1"
10
11
end
Original file line number Diff line number Diff line change 20
20
minitest (~> 5.1 )
21
21
tzinfo (~> 1.1 )
22
22
builder (3.2.2 )
23
- codeclimate-test-reporter (0.4.8 )
24
- simplecov (>= 0.7.1 , < 1.0.0 )
23
+ codeclimate-test-reporter (1.0.0.pre.rc1 )
25
24
codeclimate-yaml (0.9.0 )
26
25
activesupport
27
26
secure_string
59
58
builder (< 4 )
60
59
rspec-core (>= 2 , < 4 , != 2.12.0 )
61
60
secure_string (1.3.3 )
62
- simplecov (0.10.0 )
61
+ simplecov (0.11.2 )
63
62
docile (~> 1.1.0 )
64
63
json (~> 1.8 )
65
64
simplecov-html (~> 0.10.0 )
@@ -75,10 +74,11 @@ PLATFORMS
75
74
76
75
DEPENDENCIES
77
76
codeclimate !
78
- codeclimate-test-reporter
77
+ codeclimate-test-reporter ( = 1.0.0.pre.rc1 )
79
78
rake
80
79
rspec
81
80
rspec_junit_formatter
81
+ simplecov
82
82
83
83
BUNDLED WITH
84
84
1.12.5
Original file line number Diff line number Diff line change @@ -14,16 +14,16 @@ test: image
14
14
15
15
citest :
16
16
docker run \
17
+ --entrypoint sh \
17
18
--env CIRCLECI=$(CIRCLECI ) \
18
19
--env CIRCLE_BUILD_NUM=$(CIRCLE_BUILD_NUM ) \
19
20
--env CIRCLE_BRANCH=$(CIRCLE_BRANCH ) \
20
21
--env CIRCLE_SHA1=$(CIRCLE_SHA1 ) \
21
22
--env CODECLIMATE_REPO_TOKEN=$(CODECLIMATE_REPO_TOKEN ) \
22
- --entrypoint bundle \
23
23
--volume $(PWD ) /.git:/usr/src/app/.git:ro \
24
24
--volume /var/run/docker.sock:/var/run/docker.sock \
25
25
--volume $(CIRCLE_TEST_REPORTS ) :/usr/src/app/spec/reports \
26
- codeclimate/codeclimate exec rake spec:all spec:benchmark
26
+ codeclimate/codeclimate -c " bundle exec rake spec:all && bundle exec codeclimate-test-reporter && bundle exec rake spec:benchmark"
27
27
28
28
install :
29
29
bin/check
Original file line number Diff line number Diff line change 1
- require "codeclimate-test-reporter"
2
- CodeClimate ::TestReporter . start
1
+ require "simplecov"
2
+ SimpleCov . start do
3
+ add_filter "/spec/"
4
+ end
3
5
4
6
require "cc/cli"
5
7
require "cc/yaml"
You can’t perform that action at this time.
0 commit comments