-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b7b216
commit e4e670e
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
jobs: | ||
- job: Build_PS_Win2016 | ||
pool: | ||
vmImage: vs2017-win2016 | ||
steps: | ||
- powershell: | | ||
Install-Module -Name Pester -Repository PSGallery -Force -SkipPublisherCheck | ||
.\PSWriteHTML.Tests.ps1 | ||
displayName: "Run Pester Tests - PowerShell 5" | ||
# - script: | | ||
# pwsh -c '.\PSBlackListChecker.Tests.ps1' $(TEAMSPESTERID) $(SLACKPESTERID) $(DISCORDURL) | ||
# displayName: "Run Pester Tests - PowerShell 6+" | ||
|
||
- job: Build_PSCore_Ubuntu1604 | ||
pool: | ||
vmImage: ubuntu-16.04 | ||
steps: | ||
- script: | | ||
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | ||
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list | ||
sudo apt-get update | ||
sudo apt-get install -y powershell | ||
displayName: "Install PowerShell Core" | ||
- script: | | ||
pwsh -c '.\PSWriteHTML.Tests.ps1' | ||
displayName: "Run Pester Tests" | ||
- job: Build_PSCore_MacOS1013 | ||
pool: | ||
vmImage: xcode9-macos10.13 | ||
steps: | ||
- script: | | ||
brew update | ||
brew tap caskroom/cask | ||
brew install mono-libgdiplus | ||
brew cask install powershell | ||
displayName: "Install PowerShell Core" | ||
- script: | | ||
pwsh -c '.\PSWriteHTML.Tests.ps1' | ||
displayName: "Run Pester Tests" |