mirror of https://github.com/v2ray/v2ray-core
Darien Raymond
6 years ago
3 changed files with 38 additions and 67 deletions
@ -0,0 +1,22 @@
|
||||
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: | |
||||
go test -p 1 -tags json -v v2ray.com/core/... |
||||
workingDirectory: '$(system.defaultWorkingDirectory)' |
||||
displayName: 'Test' |
Loading…
Reference in new issue