Browse Source

unset GOPATH to use go mod

Shelikhoo 6 years ago
parent
commit
f4f2a98e6e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      azure-pipelines.yml

+ 3 - 1
azure-pipelines.yml

@@ -72,7 +72,9 @@ jobs:
     displayName: Apt Install
     displayName: Apt Install
   - script: |
   - script: |
       go version
       go version
-      go get -v -t -d v2ray.com/core/...
+      #go get -v -t -d v2ray.com/core/...
+      unset GOPATH
+      go get -v -t -d github.com/v2fly/v2ray-core/...
     workingDirectory: '$(GOPATH)'
     workingDirectory: '$(GOPATH)'
     displayName: 'Fetch sources'
     displayName: 'Fetch sources'
   - script: |
   - script: |