Skip to content

Commit

Permalink
AzurePipelines configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys committed Nov 26, 2019
1 parent 9b7b216 commit e4e670e
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions PSWriteHTML.AzurePipelines.yml
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"

0 comments on commit e4e670e

Please sign in to comment.