From 6c82b8815a2410fd87cd615450c77bd1542e34bf Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Tue, 23 May 2017 10:37:47 +0200 Subject: [PATCH 1/2] add the parallel_tests gem this allows us to run spec tests in parallel. We already enabled this in our configs in the past, but we didn't include this gem. It was a dependency of puppetlabs_spec_helper. This got removed so we need to install it explicitly. Changes tested at: https://github.com/voxpupuli/puppet-zabbix/blob/master/Gemfile#L39 https://travis-ci.org/voxpupuli/puppet-zabbix/builds/235141105 --- config_defaults.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config_defaults.yml b/config_defaults.yml index 655a3894..2bf8dbfb 100644 --- a/config_defaults.yml +++ b/config_defaults.yml @@ -74,6 +74,7 @@ Gemfile: - gem: github_changelog_generator ruby-operator: '>=' ruby-version: '2.2.2' + - gem: parallel_tests ':development': - gem: travis - gem: travis-lint From a53acfa72c6152091dbd034259413f2b12fb7c13 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Tue, 23 May 2017 11:10:09 +0200 Subject: [PATCH 2/2] make the rspec_parallel output more beautiful --- moduleroot/.rspec_parallel.erb | 1 + 1 file changed, 1 insertion(+) create mode 100644 moduleroot/.rspec_parallel.erb diff --git a/moduleroot/.rspec_parallel.erb b/moduleroot/.rspec_parallel.erb new file mode 100644 index 00000000..e4d136b7 --- /dev/null +++ b/moduleroot/.rspec_parallel.erb @@ -0,0 +1 @@ +--format progress