Skip to content

Commit d8e2234

Browse files
committed
(maint) enable simplecov for ruby codecoverage testing
1 parent 95167fc commit d8e2234

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.sync.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
services: docker
9090
sudo: required
9191
stage: acceptance
92+
simplecov: true
9293
appveyor.yml:
9394
use_litmus: true
9495
matrix_extras:
@@ -99,6 +100,7 @@ appveyor.yml:
99100
ACCEPTANCE: 'yes'
100101
TARGET_HOST: localhost
101102
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
103+
simplecov: true
102104
Gemfile:
103105
use_litmus: true
104106
optional:

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ before_install:
99
- gem --version
1010
- bundle -v
1111
script:
12-
- 'bundle exec rake $CHECK'
12+
- 'SIMPLECOV=yes bundle exec rake $CHECK'
1313
bundler_args: --without system_tests
1414
rvm:
1515
- 2.5.3
@@ -34,9 +34,6 @@ matrix:
3434
env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec
3535
rvm: 2.5.3
3636
stage: spec
37-
-
38-
env: DEPLOY_TO_FORGE=yes
39-
stage: deploy
4037
-
4138
before_script: ["bundle exec rake 'litmus:provision_list[waffle_debian]'", "bundle exec rake 'litmus:install_agent[puppet5]'", "bundle exec rake litmus:install_module"]
4239
bundler_args:
@@ -97,6 +94,9 @@ matrix:
9794
services: docker
9895
stage: acceptance
9996
sudo: required
97+
-
98+
env: DEPLOY_TO_FORGE=yes
99+
stage: deploy
100100
branches:
101101
only:
102102
- master

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ init:
1414
- 'mkdir C:\ProgramData\PuppetLabs\hiera && exit 0'
1515
- 'mkdir C:\ProgramData\PuppetLabs\puppet\var && exit 0'
1616
environment:
17+
SIMPLECOV: yes
1718
matrix:
1819
-
1920
RUBY_VERSION: 24-x64

0 commit comments

Comments
 (0)