Przeglądaj źródła

Update Travis to use pretty Docker-based workers

These start up much faster and the only caveat is that we can't use "sudo" (which we don't currently use anyhow).

Also, I've updated the Go version here to match what's in the Dockerfile.

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
Tianon Gravi 11 lat temu
rodzic
commit
3e2ad6ffee
1 zmienionych plików z 6 dodań i 1 usunięć
  1. 6 1
      .travis.yml

+ 6 - 1
.travis.yml

@@ -3,7 +3,12 @@
 
 language: go
 
-go: 1.2
+# This should match the version in the Dockerfile.
+go: 1.2.1
+
+# Let us have pretty experimental Docker-based Travis workers.
+# (These spin up much faster than the VM-based ones.)
+sudo: false
 
 # Disable the normal go build.
 install: true