Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmarsh committed Oct 21, 2019
1 parent 1ca972c commit f494751
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pool:
steps:

- script: |
set -x
sudo apt-get update && sudo apt-get install zip -y
go version
go get -v -t -d ./...
Expand All @@ -39,7 +40,8 @@ steps:

- script: |
# etcd depdendency bug workaround. See commends in go.mod for more details.
go build -v . && rm /go/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go
go build -v .
sudo rm /go/pkg/mod/github.com/coreos/etcd@v3.3.10+incompatible/client/keys.generated.go
go test -v ./...
displayName: 'Run tests'

Expand Down

0 comments on commit f494751

Please sign in to comment.