Browse Source

update azure pipelines

Darien Raymond 7 years ago
parent
commit
cd73486e93
2 changed files with 4 additions and 0 deletions
  1. 3 0
      azure-pipelines.template.yml
  2. 1 0
      azure-pipelines.yml

+ 3 - 0
azure-pipelines.template.yml

@@ -10,6 +10,9 @@ jobs:
 
   steps:
   - checkout: none
+  - task: GoTool@0
+      inputs:
+        version: '1.11.2'
   - script: |
       go version
       go get -v -t -d v2ray.com/core/...

+ 1 - 0
azure-pipelines.yml

@@ -16,6 +16,7 @@ jobs:
 
 - job: linux_coverage
   dependsOn: linux
+  condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
   timeoutInMinutes: 30
 
   pool: