bump go version to 1.9

This commit is contained in:
Murat Kabilov
2017-10-11 12:01:35 +02:00
committed by GitHub
parent 846d919235
commit 4bc2284b57
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ dist: trusty
language: go
go:
- 1.8
- 1.9
before_install:
- go get github.com/Masterminds/glide
-3
View File
@@ -2,9 +2,6 @@
BINARY ?= postgres-operator
BUILD_FLAGS ?= -v
ifeq ("$(shell uname)", "Darwin")
BUILD_FLAGS += -i
endif
CGO_ENABLED ?= 0
ifeq ($(RACE),1)
BUILD_FLAGS += -race -a
+6 -3
View File
@@ -4,9 +4,12 @@ build_steps:
apt-get install -y make git apt-transport-https ca-certificates curl
- desc: 'Install go'
cmd: |
add-apt-repository ppa:longsleep/golang-backports
apt-get update
apt-get install -y golang-go
cd /tmp
wget -q https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz -O go.tar.gz
tar -xf go.tar.gz
mv go /usr/local
ln -s /usr/local/go/bin/go /usr/bin/go
go version
- desc: 'Install Docker'
cmd: |
curl -sSL https://get.docker.com/ | sh