mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
873 B
39 lines
873 B
jobs: |
|
- template: azure-pipelines.template.yml |
|
parameters: |
|
name: linux |
|
vmImage: 'ubuntu-16.04' |
|
|
|
- template: azure-pipelines.template.yml |
|
parameters: |
|
name: windows |
|
vmImage: 'vs2017-win2016' |
|
|
|
- template: azure-pipelines.template.yml |
|
parameters: |
|
name: macos |
|
vmImage: 'macOS-10.13' |
|
|
|
- job: linux_coverage |
|
dependsOn: linux |
|
timeoutInMinutes: 30 |
|
|
|
pool: |
|
vmImage: 'Ubuntu 16.04' |
|
|
|
variables: |
|
GOPATH: '$(system.defaultWorkingDirectory)' |
|
|
|
steps: |
|
- checkout: none |
|
- script: | |
|
go version |
|
go get -v -t -d v2ray.com/core/... |
|
go get -v -t -d v2ray.com/ext/... |
|
workingDirectory: '$(system.defaultWorkingDirectory)' |
|
displayName: 'Fetch sources' |
|
- script: | |
|
cd ./src/v2ray.com/core |
|
bash ./testing/coverage/coverall |
|
workingDirectory: '$(system.defaultWorkingDirectory)' |
|
displayName: 'Coverage'
|
|
|