git » chasquid » commit a92497a

travis: Increase minimum supported version to 1.9

author Alberto Bertogli
2019-05-05 12:04:04 UTC
committer Alberto Bertogli
2019-05-05 12:04:04 UTC
parent a5edd9053f12ef3638c3f388423f17b1e9c026b4

travis: Increase minimum supported version to 1.9

As of a29dc8fd (2019-04-26), golang.org/x/crypto requires math/bits.
math/bits was introduced in Go 1.9, so we can no longer build from head
using 1.7.

Building using Debian's packaged dependencies should work just fine, but
since we want Travis to build from head, this commit updates the minimum
supported version to 1.9.

.travis.yml +3 -1

diff --git a/.travis.yml b/.travis.yml
index 1381ac5..95a2aec 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,7 +6,9 @@ dist: trusty
 sudo: false
 
 go:
-    - 1.7  # Debian stable.
+    # Normally we'd want to support the version in Debian stable, but
+    # golang.org/x/crypto requires math/bits which appeared in 1.9.
+    - 1.9
     - stable
     - master