author | Alberto Bertogli
<albertito@blitiri.com.ar> 2020-04-14 10:39:48 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2020-04-14 11:00:57 UTC |
parent | 2b9c2df9d3d9d9767ffda4f591e10f3cace55f92 |
.travis.yml | +9 | -1 |
diff --git a/.travis.yml b/.travis.yml index 29ee46d..0d79645 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,10 +7,18 @@ sudo: false go: # Check against the version in Debian stable. - - 1.11 + - 1.11.x - stable - master +env: + # Enable Go modules explicitly on Go 1.11. + # Some packages update in backwards-incompatible ways assuming Go modules + # are in use, which can break the build unexpectedly. + # We can remove this once we no longer support Go 1.11, as it is the default + # in the newer versions. + - GO111MODULE=on + # This is needed because the repository has a Makefile, so travis won't invoke # "go get" by default. install: