-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Transferetto.AzurePipelines.yml
46 lines (42 loc) · 1.29 KB
/
Transferetto.AzurePipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
jobs:
- job: Build_PS_Win
pool:
vmImage: windows-latest
steps:
- powershell: |
.\Transferetto.Tests.ps1
displayName: "Run Pester Tests - PowerShell 5"
- job: Windows_PowerShell_7
pool:
vmImage: windows-latest
steps:
- pwsh: '.\Transferetto.Tests.ps1'
env:
TEAMSPESTERID: $(TEAMSPESTERID)
displayName: "Run Pester Tests"
- job: Build_PSCore_Ubuntu
pool:
vmImage: ubuntu-latest
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 '.\Transferetto.Tests.ps1'
displayName: "Run Pester Tests"
- job: Build_PSCore_MacOS
pool:
vmImage: macOS-latest
steps:
- script: |
brew update
brew tap caskroom/cask
brew install mono-libgdiplus
brew install --cask powershell
displayName: "Install PowerShell Core"
- script: |
pwsh -c '.\Transferetto.Tests.ps1'
displayName: "Run Pester Tests"