Update build environment

* Add mercurial/hg to bindep
* Use latest golang (1.8.x)
* Print additional go related environment information

Change-Id: I053873945a24ab0f592051423d2e307b3bdf299e
This commit is contained in:
Davanum Srinivas 2017-03-29 12:50:41 -04:00
parent eba7d9f54a
commit 3e8cd7b94e
3 changed files with 6 additions and 2 deletions

View File

@ -65,6 +65,8 @@ env:
@echo "GOROOT: $(GOROOT)"
@echo "DEST: $(DEST)"
@echo "PKG: $(PKG)"
go version
go env
# Get our dev/test dependencies in place
bootstrap:

View File

@ -1,5 +1,6 @@
pkg-config
build-essential
mercurial
golang-go
golint
make

View File

@ -48,7 +48,8 @@ case $OS in
if ! which add-apt-repository 1>/dev/null; then
sudo $APT_GET install software-properties-common
fi
sudo add-apt-repository --yes ppa:masterminds/glide && sudo apt-get update
sudo $APT_GET install glide
sudo add-apt-repository --yes ppa:longsleep/golang-backports
sudo add-apt-repository --yes ppa:masterminds/glide
sudo apt-get update && sudo $APT_GET install golang-go glide
;;
esac