| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- jobs:
- - job: 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: |
- go test -p 1 -tags json -v v2ray.com/core/...
- workingDirectory: '$(system.defaultWorkingDirectory)'
- displayName: 'Test'
- - job: MacOS
- pool:
- vmImage: 'macOS-10.13'
- 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'
- - job: Windows
- pool:
- vmImage: 'vs2017-win2016'
- 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'
|