Go error failing Travis builds
ianballou opened this issue · comments
/home/travis/gopath/src/github.com/lib/pq/notify.go:787: undefined: time.Until
is causing the builds to fail. I believe it is because the Go version on Travis is a pre-1.8 version.
I'm currently trying to get Travis to upgrade Go with some edits to the yaml and a new Go install script.
I've tried a few different ways of installation: using gimme, using apt-get with the golang PPA, installing directly from the go 1.10 tarball. Each time, the Go version afterwards is still go1.7.4 linux/amd64
. Does anyone have any input on this issue?
https://travis-ci.org/CCI-MOC/hil/jobs/359043937#L46 From this, it looks like the go version is actually 1.8.3
But how's it already there? before apt
install go.
Relevant, jmhodges/howsmyssl#167
We do seem to be using 1.7:
https://travis-ci.org/zenhack/hil/jobs/359575944#L3376
I'll continue to try to figure out how to get >=1.8 in the vm.