]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.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 0755e47ba802b4fa34a38864dc67ed709eda7f66..e91cc6d202ad9e4a093b2eba87fe46cacdff64e0 100644 (file)
--- a/.sync.yml
+++ b/.sync.yml
@@ -46,6 +46,7 @@
     services: docker
     sudo: required
     stage: acceptance
+  simplecov: true
 appveyor.yml:
   delete: true
 Gemfile:
index 5fe6952c0b5b73416a7d6da997e3eeafe4804180..a79d1d2a953f350d775d885cb37411a7e79a87ca 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[waffle_el]'", "bundle exec rake 'litmus:install_agent[puppet6]'", "bundle exec rake litmus:install_module"]
       bundler_args: 
@@ -67,6 +64,9 @@ matrix:
       services: docker
       stage: acceptance
       sudo: required
+    -
+      env: DEPLOY_TO_FORGE=yes
+      stage: deploy
 branches:
   only:
     - master