Update azure-pipelines.yml

pull/2388/head
Kslr 2020-03-28 02:11:35 +08:00 committed by GitHub
parent d113c1b791
commit f099c1e53d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -10,17 +10,17 @@ jobs:
- template: azure-pipelines.template.yml - template: azure-pipelines.template.yml
parameters: parameters:
name: linux name: linux
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-latest'
- template: azure-pipelines.template.yml - template: azure-pipelines.template.yml
parameters: parameters:
name: windows name: windows
vmImage: 'vs2017-win2016' vmImage: 'windows-latest'
- template: azure-pipelines.template.yml - template: azure-pipelines.template.yml
parameters: parameters:
name: macos name: macos
vmImage: 'macOS-10.14' vmImage: 'macOS-latest'
- job: linux_coverage - job: linux_coverage
dependsOn: linux dependsOn: linux
@ -28,7 +28,7 @@ jobs:
timeoutInMinutes: 30 timeoutInMinutes: 30
pool: pool:
vmImage: 'Ubuntu 16.04' vmImage: 'ubuntu-latest'
variables: variables:
CODECOV_TOKEN: '$(coverage.token)' CODECOV_TOKEN: '$(coverage.token)'
@ -37,7 +37,7 @@ jobs:
- checkout: self - checkout: self
- task: GoTool@0 - task: GoTool@0
inputs: inputs:
version: '1.13' version: '1.14.x'
- script: | - script: |
bash ./testing/coverage/coverall bash ./testing/coverage/coverall
workingDirectory: '$(Build.SourcesDirectory)' workingDirectory: '$(Build.SourcesDirectory)'
@ -49,7 +49,7 @@ jobs:
timeoutInMinutes: 60 timeoutInMinutes: 60
pool: pool:
vmImage: 'Ubuntu 16.04' vmImage: 'ubuntu-latest'
variables: variables:
GOPATH: '$(system.defaultWorkingDirectory)' GOPATH: '$(system.defaultWorkingDirectory)'
@ -59,7 +59,7 @@ jobs:
- checkout: none - checkout: none
- task: GoTool@0 - task: GoTool@0
inputs: inputs:
version: '1.13' version: '1.14.x'
- script: | - script: |
sudo apt-get -y update sudo apt-get -y update
sudo apt-get -y install jq git file pkg-config zip g++ zlib1g-dev unzip python openssl sudo apt-get -y install jq git file pkg-config zip g++ zlib1g-dev unzip python openssl