Enable compilation with Go 1.11 on Travis to avoid unstable tests (#4496)

* Enable compilation with Go 1.10 on Travis

There a minor compilation differences between Go 1.10 and 1.x
which is currently Go 1.11 beta.x such as new compilation
warnings.

It will show more obviously the errors in Travus when error
is linked for instance to a new compilation warning

* Compile only for Go 1.10 as requested by @pearkes

* Switch to golang 1.11 as requested by @pearkes
This commit is contained in:
Pierre Souchay 2018-10-03 23:49:48 +02:00 committed by Jack Pearkes
parent 964f1c3bb6
commit c4f5040d3d

View file

@ -1,7 +1,7 @@
language: go
go:
- "1.x"
- "1.11"
branches:
only: