Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 31 additions & 28 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,28 @@
enabled: false
simplecov: true
before_install_pre:
- bash <(curl -s https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.sh) -skip-sudo-check
- 'pwsh -NoProfile -NoLogo -NonInteractive -Command \$PSVersionTable # Output the PowerShell Core version information'
- if [ $BUNDLER_VERSION ]; then
gem install -v $BUNDLER_VERSION bundler --no-rdoc --no-ri;
fi
- bash <(curl -s https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/install-powershell.sh) -skip-sudo-check
- 'pwsh -NoProfile -NoLogo -NonInteractive -Command \$PSVersionTable # Output the PowerShell Core version information'
- if [ $BUNDLER_VERSION ]; then gem install -v $BUNDLER_VERSION bundler --no-rdoc --no-ri; fi
includes:
- os: osx
comment: test Mac OSX edition of PowerShell Core on a single job
env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec
rvm: 2.5.3
stage: acceptance
- os: osx
comment: test Mac OSX edition of PowerShell Core on a single job
env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec
rvm: 2.5.3
stage: acceptance
notifications:
slack:
secure: Yqv+S1Bwz19bor4xu3v7i5rLPzQuwTSZhO5wjsrX+jhKDN5/+e7e53x/v3Onjdrn9rjwFAxwzciAte0MO96xLFjyzWyUSziGur8/v3TcbRnnVQMOnIEj0HfmyLbx1cpxGK9V8MPsWQVAoHCklTtZIsRjMw0PcD8+aVKVF3NcBK4=
appveyor.yml:
simplecov: true
install_post:
- '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"'
- 'ps: "& ./install-pwsh.ps1"'
- set PATH=%LOCALAPPDATA%\Microsoft\powershell;%PATH%
- pwsh -NoProfile -NoLogo -NonInteractive -Command $PSVersionTable
- powershell -NoProfile -NoLogo -NonInteractive -Command $PSVersionTable
- >-
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"
- 'ps: "& ./install-pwsh.ps1"'
- set PATH=%LOCALAPPDATA%\Microsoft\powershell;%PATH%
- pwsh -NoProfile -NoLogo -NonInteractive -Command $PSVersionTable
- powershell -NoProfile -NoLogo -NonInteractive -Command $PSVersionTable
Gemfile:
optional:
":development":
Expand All @@ -37,18 +40,18 @@ Gemfile:
ref: 20ee04ba1234e9e83eb2ffb5056e23d641c7a018
condition: Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')
required:
':system_tests':
- gem: 'puppet-module-posix-system-r#{minor_version}'
platforms: ruby
- gem: 'puppet-module-win-system-r#{minor_version}'
platforms:
- mswin
- mingw
- x64_mingw
- gem: beaker-testmode_switcher
version: '~> 0.4'
- gem: master_manipulator
- gem: puppet-blacksmith
version: '~> 3.4'
":system_tests":
- gem: puppet-module-posix-system-r#{minor_version}
platforms: ruby
- gem: puppet-module-win-system-r#{minor_version}
platforms:
- mswin
- mingw
- x64_mingw
- gem: beaker-testmode_switcher
version: "~> 0.4"
- gem: master_manipulator
- gem: puppet-blacksmith
version: "~> 3.4"
spec/spec_helper.rb:
coverage_report: true
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ before_install:
- rm -f Gemfile.lock
- "# Update system gems if requested. This is useful to temporarily workaround troubles in the test runner"
- "# See https://github.com/puppetlabs/pdk-templates/commit/705154d5c437796b821691b707156e1b056d244f for an example of how this was used"
- "# Ignore exit code of SIGPIPE'd yes to not fail with shell's pipefail set"
- '[ -z "$RUBYGEMS_VERSION" ] || (yes || true) | gem update --system $RUBYGEMS_VERSION'
- '[ -z "$RUBYGEMS_VERSION" ] || gem update --system $RUBYGEMS_VERSION'
- gem --version
- bundle -v
script:
Expand Down Expand Up @@ -49,3 +48,5 @@ branches:
- /^v\d/
notifications:
email: false
slack:
secure: Yqv+S1Bwz19bor4xu3v7i5rLPzQuwTSZhO5wjsrX+jhKDN5/+e7e53x/v3Onjdrn9rjwFAxwzciAte0MO96xLFjyzWyUSziGur8/v3TcbRnnVQMOnIEj0HfmyLbx1cpxGK9V8MPsWQVAoHCklTtZIsRjMw0PcD8+aVKVF3NcBK4=
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@
],
"pdk-version": "1.15.0",
"template-url": "https://github.com/puppetlabs/pdk-templates#master",
"template-ref": "heads/master-0-g5676b3f"
"template-ref": "heads/master-0-gcaed9d7"
}