Only run tests on Windows PS 5.1

This commit is contained in:
dfinke
2019-08-29 18:13:38 -04:00
parent 99f742fa8c
commit a2b322d45c

View File

@@ -7,36 +7,36 @@ jobs:
.\DoTests.ps1
displayName: 'Run Tests on Windows'
- job: Build_PSCore_Ubuntu1604
# - job: Build_PSCore_Ubuntu1604
pool:
vmImage: ubuntu-16.04
# 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'
# 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 '.\DoTests.ps1'
displayName: 'Run Tests on Linux'
# - script: |
# pwsh -c '.\DoTests.ps1'
# displayName: 'Run Tests on Linux'
- job: Build_PSCore_MacOS1013
pool:
vmImage: xcode9-macos10.13
steps:
- script: |
brew update
brew tap caskroom/cask
brew cask install powershell
displayName: 'Install PowerShell Core'
# - job: Build_PSCore_MacOS1013
# pool:
# vmImage: xcode9-macos10.13
# steps:
# - script: |
# brew update
# brew tap caskroom/cask
# brew cask install powershell
# displayName: 'Install PowerShell Core'
- script: |
pwsh -c '.\DoTests.ps1'
displayName: 'Run Tests on macOS'
# - script: |
# pwsh -c '.\DoTests.ps1'
# displayName: 'Run Tests on macOS'
trigger:
paths: