Skip to content

Commit 4b94310

Browse files
committed
(maint) update travis to notify puppet slack
1 parent fee1363 commit 4b94310

File tree

2 files changed

+33
-28
lines changed

2 files changed

+33
-28
lines changed

.sync.yml

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,45 @@
77
".travis.yml":
88
simplecov: true
99
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
1513
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=
2122
appveyor.yml:
2223
simplecov: true
2324
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
2932
Gemfile:
3033
optional:
3134
":development":
3235
- gem: ruby-pwsh
3336
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"
4750
spec/spec_helper.rb:
4851
coverage_report: true

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,5 @@ branches:
5454
- /^v\d/
5555
notifications:
5656
email: false
57+
slack:
58+
secure: Yqv+S1Bwz19bor4xu3v7i5rLPzQuwTSZhO5wjsrX+jhKDN5/+e7e53x/v3Onjdrn9rjwFAxwzciAte0MO96xLFjyzWyUSziGur8/v3TcbRnnVQMOnIEj0HfmyLbx1cpxGK9V8MPsWQVAoHCklTtZIsRjMw0PcD8+aVKVF3NcBK4=

0 commit comments

Comments
 (0)