(maint) enable simplecov for ruby codecoverage testing

This commit is contained in:
David Schmitt
2019-11-25 18:25:27 +00:00
parent e300649623
commit a57d124d7d
2 changed files with 5 additions and 4 deletions

View File

@@ -57,6 +57,7 @@
services: docker services: docker
sudo: required sudo: required
stage: acceptance stage: acceptance
simplecov: true
appveyor.yml: appveyor.yml:
delete: true delete: true
Gemfile: Gemfile:

View File

@@ -9,7 +9,7 @@ before_install:
- gem --version - gem --version
- bundle -v - bundle -v
script: script:
- 'bundle exec rake $CHECK' - 'SIMPLECOV=yes bundle exec rake $CHECK'
bundler_args: --without system_tests bundler_args: --without system_tests
rvm: rvm:
- 2.5.3 - 2.5.3
@@ -34,9 +34,6 @@ matrix:
env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec
rvm: 2.5.3 rvm: 2.5.3
stage: spec stage: spec
-
env: DEPLOY_TO_FORGE=yes
stage: deploy
- -
before_script: ["bundle exec rake 'litmus:provision_list[travis_deb]'", "bundle exec bolt command run 'apt-get install wget -y' --inventoryfile inventory.yaml --nodes='localhost*'", "bundle exec rake 'litmus:install_agent[puppet5]'", "bundle exec rake litmus:install_module"] before_script: ["bundle exec rake 'litmus:provision_list[travis_deb]'", "bundle exec bolt command run 'apt-get install wget -y' --inventoryfile inventory.yaml --nodes='localhost*'", "bundle exec rake 'litmus:install_agent[puppet5]'", "bundle exec rake litmus:install_module"]
bundler_args: bundler_args:
@@ -75,6 +72,9 @@ matrix:
services: docker services: docker
stage: acceptance stage: acceptance
sudo: required sudo: required
-
env: DEPLOY_TO_FORGE=yes
stage: deploy
branches: branches:
only: only:
- master - master