]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
(maint) enable simplecov for ruby codecoverage testing
authorDavid Schmitt <david.schmitt@puppet.com>
Mon, 25 Nov 2019 18:25:27 +0000 (18:25 +0000)
committerDavid Schmitt <david.schmitt@puppet.com>
Mon, 25 Nov 2019 18:25:27 +0000 (18:25 +0000)
.sync.yml
.travis.yml

index ad1408c50f11abd96d5cbabd1e1f8b989cbffc6c..2bf4a39adb83e8f29fe7fad7451cdecdb3cbdb4c 100644 (file)
--- a/.sync.yml
+++ b/.sync.yml
@@ -39,6 +39,7 @@
     services: docker
     sudo: required
     stage: acceptance
+  simplecov: true
 appveyor.yml:
   delete: true
 Gemfile:
index 0bd7c1f1aeec43dc20be2f01f5cbdad2f8dd5686..922d081117bec2b4527f0747405bb5d80b3f7696 100644 (file)
@@ -9,7 +9,7 @@ before_install:
   - gem --version
   - bundle -v
 script:
-  - 'bundle exec rake $CHECK'
+  - 'SIMPLECOV=yes bundle exec rake $CHECK'
 bundler_args: --without system_tests
 rvm:
   - 2.5.3
@@ -34,9 +34,6 @@ matrix:
       env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec
       rvm: 2.5.3
       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"]
       bundler_args: 
@@ -57,6 +54,9 @@ matrix:
       services: docker
       stage: acceptance
       sudo: required
+    -
+      env: DEPLOY_TO_FORGE=yes
+      stage: deploy
 branches:
   only:
     - master