mirror of https://github.com/v2ray/v2ray-core
add coverage job to azure pipeline
parent
4f167bb4d0
commit
9343b8879e
|
@ -20,6 +20,29 @@ jobs:
|
||||||
workingDirectory: '$(system.defaultWorkingDirectory)'
|
workingDirectory: '$(system.defaultWorkingDirectory)'
|
||||||
displayName: 'Test'
|
displayName: 'Test'
|
||||||
|
|
||||||
|
- job: Linux Coverage
|
||||||
|
dependsOn: Linux
|
||||||
|
|
||||||
|
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'
|
||||||
|
|
||||||
- job: MacOS
|
- job: MacOS
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
|
|
Loading…
Reference in New Issue