11---
2+ os : linux
23dist : xenial
34language : ruby
45cache : bundler
56before_install :
6- - bash <(curl -s https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.sh) -skip-sudo-check
7- - pwsh -NoProfile -NoLogo -NonInteractive -Command \$PSVersionTable # Output the PowerShell Core version information
8- - if [ $BUNDLER_VERSION ]; then gem install -v $BUNDLER_VERSION bundler --no-rdoc --no-ri; fi
97 - bundle -v
108 - rm -f Gemfile.lock
119 - " # Update system gems if requested. This is useful to temporarily workaround troubles in the test runner"
@@ -26,9 +24,81 @@ stages:
2624 - static
2725 - spec
2826 - acceptance
29- matrix :
27+ jobs :
3028 fast_finish : true
3129 include :
30+ -
31+ before_script :
32+ - " bundle exec rake 'litmus:provision_list[travis_deb]'"
33+ - " bundle exec rake 'litmus:install_agent[puppet5]'"
34+ - " bundle exec rake litmus:install_module"
35+ bundler_args :
36+ dist : trusty
37+ env : PLATFORMS=travis_deb_puppet5
38+ rvm : 2.5.3
39+ script : ["bundle exec rake litmus:acceptance:parallel"]
40+ services : docker
41+ stage : acceptance
42+ -
43+ before_script :
44+ - " bundle exec rake 'litmus:provision_list[travis_el]'"
45+ - " bundle exec rake 'litmus:install_agent[puppet5]'"
46+ - " bundle exec rake litmus:install_module"
47+ bundler_args :
48+ dist : trusty
49+ env : PLATFORMS=travis_el_puppet5
50+ rvm : 2.5.3
51+ script : ["bundle exec rake litmus:acceptance:parallel"]
52+ services : docker
53+ stage : acceptance
54+ -
55+ before_script :
56+ - " bundle exec rake 'litmus:provision_list[travis_ub]'"
57+ - " bundle exec rake 'litmus:install_agent[puppet5]'"
58+ - " bundle exec rake litmus:install_module"
59+ bundler_args :
60+ dist : trusty
61+ env : PLATFORMS=travis_ub_puppet5
62+ rvm : 2.5.3
63+ script : ["bundle exec rake litmus:acceptance:parallel"]
64+ services : docker
65+ stage : acceptance
66+ -
67+ before_script :
68+ - " bundle exec rake 'litmus:provision_list[travis_deb]'"
69+ - " bundle exec rake 'litmus:install_agent[puppet6]'"
70+ - " bundle exec rake litmus:install_module"
71+ bundler_args :
72+ dist : trusty
73+ env : PLATFORMS=travis_deb_puppet6
74+ rvm : 2.5.3
75+ script : ["bundle exec rake litmus:acceptance:parallel"]
76+ services : docker
77+ stage : acceptance
78+ -
79+ before_script :
80+ - " bundle exec rake 'litmus:provision_list[travis_el]'"
81+ - " bundle exec rake 'litmus:install_agent[puppet6]'"
82+ - " bundle exec rake litmus:install_module"
83+ bundler_args :
84+ dist : trusty
85+ env : PLATFORMS=travis_el_puppet6
86+ rvm : 2.5.3
87+ script : ["bundle exec rake litmus:acceptance:parallel"]
88+ services : docker
89+ stage : acceptance
90+ -
91+ before_script :
92+ - " bundle exec rake 'litmus:provision_list[travis_ub]'"
93+ - " bundle exec rake 'litmus:install_agent[puppet6]'"
94+ - " bundle exec rake litmus:install_module"
95+ bundler_args :
96+ dist : trusty
97+ env : PLATFORMS=travis_ub_puppet6
98+ rvm : 2.5.3
99+ script : ["bundle exec rake litmus:acceptance:parallel"]
100+ services : docker
101+ stage : acceptance
32102 -
33103 env : CHECK="check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop syntax lint metadata_lint"
34104 stage : static
@@ -41,10 +111,16 @@ matrix:
41111 rvm : 2.5.3
42112 stage : spec
43113 -
44- comment : test Mac OSX edition of PowerShell Core on a single job
45114 env : PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec
46115 os : osx
47116 rvm : 2.5.3
117+ stage : spec
118+ -
119+ before_script : ["brew update", "brew install openssl", "bundle exec rake spec_prep"]
120+ bundler_args :
121+ os : osx
122+ rvm : 2.5.1
123+ script : ["bundle exec rake litmus:acceptance:localhost"]
48124 stage : acceptance
49125branches :
50126 only :
0 commit comments