|
7 | 7 | ".travis.yml": |
8 | 8 | simplecov: true |
9 | 9 | before_install_pre: |
10 | | - - bash <(curl -s https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.sh) -skip-sudo-check |
11 | | - - 'pwsh -NoProfile -NoLogo -NonInteractive -Command \$PSVersionTable # Output the PowerShell Core version information' |
12 | | - - if [ $BUNDLER_VERSION ]; then |
13 | | - gem install -v $BUNDLER_VERSION bundler --no-rdoc --no-ri; |
14 | | - fi |
| 10 | + - bash <(curl -s https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.sh) -skip-sudo-check |
| 11 | + - 'pwsh -NoProfile -NoLogo -NonInteractive -Command \$PSVersionTable # Output the PowerShell Core version information' |
| 12 | + - if [ $BUNDLER_VERSION ]; then gem install -v $BUNDLER_VERSION bundler --no-rdoc --no-ri; fi |
15 | 13 | includes: |
16 | | - - os: osx |
17 | | - comment: test Mac OSX edition of PowerShell Core on a single job |
18 | | - env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec |
19 | | - rvm: 2.5.3 |
20 | | - stage: acceptance |
| 14 | + - os: osx |
| 15 | + comment: test Mac OSX edition of PowerShell Core on a single job |
| 16 | + env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec |
| 17 | + rvm: 2.5.3 |
| 18 | + stage: acceptance |
| 19 | + notifications: |
| 20 | + slack: |
| 21 | + secure: Yqv+S1Bwz19bor4xu3v7i5rLPzQuwTSZhO5wjsrX+jhKDN5/+e7e53x/v3Onjdrn9rjwFAxwzciAte0MO96xLFjyzWyUSziGur8/v3TcbRnnVQMOnIEj0HfmyLbx1cpxGK9V8MPsWQVAoHCklTtZIsRjMw0PcD8+aVKVF3NcBK4= |
21 | 22 | appveyor.yml: |
22 | 23 | simplecov: true |
23 | 24 | install_post: |
24 | | - - 'ps: "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri https://github.com/PowerShell/PowerShell/raw/master/tools/install-powershell.ps1 -UseBasicParsing -OutFile install-pwsh.ps1"' |
25 | | - - 'ps: "& ./install-pwsh.ps1"' |
26 | | - - set PATH=%LOCALAPPDATA%\Microsoft\powershell;%PATH% |
27 | | - - pwsh -NoProfile -NoLogo -NonInteractive -Command $PSVersionTable |
28 | | - - powershell -NoProfile -NoLogo -NonInteractive -Command $PSVersionTable |
| 25 | + - >- |
| 26 | + ps: "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri https://github.com/PowerShell/PowerShell/raw/master/tools/install-powershell.ps1 -UseBasicParsing |
| 27 | + -OutFile install-pwsh.ps1" |
| 28 | + - 'ps: "& ./install-pwsh.ps1"' |
| 29 | + - set PATH=%LOCALAPPDATA%\Microsoft\powershell;%PATH% |
| 30 | + - pwsh -NoProfile -NoLogo -NonInteractive -Command $PSVersionTable |
| 31 | + - powershell -NoProfile -NoLogo -NonInteractive -Command $PSVersionTable |
29 | 32 | Gemfile: |
30 | 33 | optional: |
31 | 34 | ":development": |
32 | 35 | - gem: ruby-pwsh |
33 | 36 | required: |
34 | | - ':system_tests': |
35 | | - - gem: 'puppet-module-posix-system-r#{minor_version}' |
36 | | - platforms: ruby |
37 | | - - gem: 'puppet-module-win-system-r#{minor_version}' |
38 | | - platforms: |
39 | | - - mswin |
40 | | - - mingw |
41 | | - - x64_mingw |
42 | | - - gem: beaker-testmode_switcher |
43 | | - version: '~> 0.4' |
44 | | - - gem: master_manipulator |
45 | | - - gem: puppet-blacksmith |
46 | | - version: '~> 3.4' |
| 37 | + ":system_tests": |
| 38 | + - gem: puppet-module-posix-system-r#{minor_version} |
| 39 | + platforms: ruby |
| 40 | + - gem: puppet-module-win-system-r#{minor_version} |
| 41 | + platforms: |
| 42 | + - mswin |
| 43 | + - mingw |
| 44 | + - x64_mingw |
| 45 | + - gem: beaker-testmode_switcher |
| 46 | + version: "~> 0.4" |
| 47 | + - gem: master_manipulator |
| 48 | + - gem: puppet-blacksmith |
| 49 | + version: "~> 3.4" |
47 | 50 | spec/spec_helper.rb: |
48 | 51 | coverage_report: true |
0 commit comments