1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-25 00:45:24 +00:00
v2fly/azure-pipelines.template.yml

23 lines
551 B
YAML
Raw Normal View History

2018-11-12 21:37:44 +00:00
jobs:
- job: ${{ parameters.name }}
timeoutInMinutes: 30
pool:
vmImage: ${{ parameters.vmImage }}
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: |
2018-11-12 22:07:04 +00:00
go test -p 1 -timeout 30m -v v2ray.com/core/...
2018-11-12 21:37:44 +00:00
workingDirectory: '$(system.defaultWorkingDirectory)'
displayName: 'Test'