Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
83 lines (80 sloc) 2.08 KB
trigger:
branches:
include:
- master
paths:
exclude:
- "*.md"
- "docs/*"
- "version.json"
jobs:
- job: Windows
pool:
vmImage: 'windows-2019'
steps:
- checkout: self
submodules: true
- task: PowerShell@2
inputs:
filePath: 'build.ps1'
env:
CODECOV_REPO_TOKEN: $(CODECOV_REPO_TOKEN)
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testRunTitle: 'Tests $(Agent.JobName)'
testResultsFormat: 'VSTest'
testResultsFiles: '**/*.trx'
mergeTestResults: true
- task: PublishCodeCoverageResults@1
condition: succeededOrFailed()
inputs:
codeCoverageTool: 'Cobertura'
summaryFileLocation: 'coverage-results/*.cobertura.xml'
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: 'artifacts/'
ArtifactName: 'drop'
publishLocation: 'Container'
- job: macOS
pool:
vmImage: 'macOS-10.14'
steps:
- checkout: self
submodules: true
- task: Bash@3
inputs:
filePath: 'build.sh'
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testRunTitle: 'Tests $(Agent.JobName)'
testResultsFormat: 'VSTest'
testResultsFiles: '**/*.trx'
mergeTestResults: true
- task: PublishCodeCoverageResults@1
condition: succeededOrFailed()
inputs:
codeCoverageTool: 'Cobertura'
summaryFileLocation: 'coverage-results/*.cobertura.xml'
- job: Linux
pool:
vmImage: 'ubuntu-latest'
steps:
- checkout: self
submodules: true
- task: Bash@3
inputs:
filePath: 'build.sh'
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testRunTitle: 'Tests $(Agent.JobName)'
testResultsFormat: 'VSTest'
testResultsFiles: '**/*.trx'
mergeTestResults: true
- task: PublishCodeCoverageResults@1
condition: succeededOrFailed()
inputs:
codeCoverageTool: 'Cobertura'
summaryFileLocation: 'coverage-results/*.cobertura.xml'
You can’t perform that action at this time.