Skip to content

Commit

Permalink
Only run tests on Windows PS 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dfinke committed Aug 29, 2019
1 parent 99f742f commit a2b322d
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a2b322d

Please sign in to comment.