aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Odeke <emm.odeke@gmail.com>2017-08-08 02:12:00 -0600
committerDmitry Vyukov <dvyukov@google.com>2017-08-08 10:36:11 +0200
commitec649f0f94d572ae9d3e9ff72001b3552e45af3f (patch)
treecf57d8130d87ab2afd36f09890ba74b3f724fcbd
parent77a9ec9ba52d1ef9281f66dbc0afa4cb9f2d0449 (diff)
.travis.yml: use go1.9rc1 since aliases trip gofmt for vendored code
For https://github.com/golang/go/issues/21337. Since the introduction of aliases is in Go1.9 but Go1.9 hasn't yet been officially released, let's use go1.9rc1 which is supported on Travis CI by their Go version getter gimme https://github.com/travis-ci/gimme instead of against go1.8.1. This solves the problem on which our vendored code is updated using Go1.9* syntax but is running against Go1.8* in Travis CI tests.
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 0ac605177..d7679727e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,7 +2,7 @@ language: go
dist: trusty
go:
- - 1.8.1
+ - 1.9rc1
before_install:
- echo $PATH