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
jensneuse committed Feb 28, 2019
1 parent 81ef0cc commit 0cd7a3a
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,9 @@ steps:
displayName: 'Set up the Go workspace'

- script: |
go version
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
go build -v .
go get -u github.com/alecthomas/gometalinter
gometalinter --install
gometalinter --config ./gometalinter.json ./pkg/**
go test ./...
workingDirectory: '$(modulePath)'
displayName: 'Get dependencies, then build'
displayName: 'dep install, lint, test'

0 comments on commit 0cd7a3a

Please sign in to comment.