From a57d124d7d6f42d58263308e410d0365fc770848 Mon Sep 17 00:00:00 2001 From: David Schmitt Date: Mon, 25 Nov 2019 18:25:27 +0000 Subject: [PATCH] (maint) enable simplecov for ruby codecoverage testing --- .sync.yml | 1 + .travis.yml | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.sync.yml b/.sync.yml index 5be9772..cfcea95 100644 --- a/.sync.yml +++ b/.sync.yml @@ -57,6 +57,7 @@ services: docker sudo: required stage: acceptance + simplecov: true appveyor.yml: delete: true Gemfile: diff --git a/.travis.yml b/.travis.yml index 8c16952..7e923a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: @@ -75,6 +72,9 @@ matrix: services: docker stage: acceptance sudo: required + - + env: DEPLOY_TO_FORGE=yes + stage: deploy branches: only: - master