Skip to content

Commit 2d71d8c

Browse files
DavidSlionce
authored andcommitted
(maint) update travis to notify puppet slack
1 parent 5b9d5af commit 2d71d8c

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,25 +7,28 @@
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":
@@ -35,18 +38,18 @@ Gemfile:
3538
ref: 20ee04ba1234e9e83eb2ffb5056e23d641c7a018
3639
condition: Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')
3740
required:
38-
':system_tests':
39-
- gem: 'puppet-module-posix-system-r#{minor_version}'
40-
platforms: ruby
41-
- gem: 'puppet-module-win-system-r#{minor_version}'
42-
platforms:
43-
- mswin
44-
- mingw
45-
- x64_mingw
46-
- gem: beaker-testmode_switcher
47-
version: '~> 0.4'
48-
- gem: master_manipulator
49-
- gem: puppet-blacksmith
50-
version: '~> 3.4'
41+
":system_tests":
42+
- gem: puppet-module-posix-system-r#{minor_version}
43+
platforms: ruby
44+
- gem: puppet-module-win-system-r#{minor_version}
45+
platforms:
46+
- mswin
47+
- mingw
48+
- x64_mingw
49+
- gem: beaker-testmode_switcher
50+
version: "~> 0.4"
51+
- gem: master_manipulator
52+
- gem: puppet-blacksmith
53+
version: "~> 3.4"
5154
spec/spec_helper.rb:
5255
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)