Fix build (#542)

* bump up golang version
* gcc fix
This commit is contained in:
Sergey Dudoladov
2019-04-15 11:52:07 +02:00
committed by Felix Kunde
parent 433bd8f500
commit 32f106990a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ branches:
language: go
go:
- "1.10.x"
- "1.12.x"
before_install:
- go get github.com/Masterminds/glide
+2 -2
View File
@@ -11,11 +11,11 @@ pipeline:
apt-get update
- desc: 'Install required build software'
cmd: |
apt-get install -y make git apt-transport-https ca-certificates curl
apt-get install -y make git apt-transport-https ca-certificates curl build-essential
- desc: 'Install go'
cmd: |
cd /tmp
wget -q https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz -O go.tar.gz
wget -q https://storage.googleapis.com/golang/go1.12.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