azure-pipelines.yml 873 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. jobs:
  2. - template: azure-pipelines.template.yml
  3. parameters:
  4. name: linux
  5. vmImage: 'ubuntu-16.04'
  6. - template: azure-pipelines.template.yml
  7. parameters:
  8. name: windows
  9. vmImage: 'vs2017-win2016'
  10. - template: azure-pipelines.template.yml
  11. parameters:
  12. name: macos
  13. vmImage: 'macOS-10.13'
  14. - job: linux_coverage
  15. dependsOn: linux
  16. timeoutInMinutes: 30
  17. pool:
  18. vmImage: 'Ubuntu 16.04'
  19. variables:
  20. GOPATH: '$(system.defaultWorkingDirectory)'
  21. steps:
  22. - checkout: none
  23. - script: |
  24. go version
  25. go get -v -t -d v2ray.com/core/...
  26. go get -v -t -d v2ray.com/ext/...
  27. workingDirectory: '$(system.defaultWorkingDirectory)'
  28. displayName: 'Fetch sources'
  29. - script: |
  30. cd ./src/v2ray.com/core
  31. bash ./testing/coverage/coverall
  32. workingDirectory: '$(system.defaultWorkingDirectory)'
  33. displayName: 'Coverage'