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 .\DoTests.ps1
displayName: 'Run Tests on Windows' displayName: 'Run Tests on Windows'
- job: Build_PSCore_Ubuntu1604 # - job: Build_PSCore_Ubuntu1604
pool: # pool:
vmImage: ubuntu-16.04 # vmImage: ubuntu-16.04
steps: # steps:
- script: | # - script: |
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - # 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 # 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 update
sudo apt-get install -y powershell # sudo apt-get install -y powershell
displayName: 'Install PowerShell Core' # displayName: 'Install PowerShell Core'
- script: | # - script: |
pwsh -c '.\DoTests.ps1' # pwsh -c '.\DoTests.ps1'
displayName: 'Run Tests on Linux' # displayName: 'Run Tests on Linux'
- job: Build_PSCore_MacOS1013 # - job: Build_PSCore_MacOS1013
pool: # pool:
vmImage: xcode9-macos10.13 # vmImage: xcode9-macos10.13
steps: # steps:
- script: | # - script: |
brew update # brew update
brew tap caskroom/cask # brew tap caskroom/cask
brew cask install powershell # brew cask install powershell
displayName: 'Install PowerShell Core' # displayName: 'Install PowerShell Core'
- script: | # - script: |
pwsh -c '.\DoTests.ps1' # pwsh -c '.\DoTests.ps1'
displayName: 'Run Tests on macOS' # displayName: 'Run Tests on macOS'
trigger: trigger:
paths: paths: