浏览代码

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 年之前
父节点
当前提交
3e2ad6ffee
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      .travis.yml

+ 6 - 1
.travis.yml

@@ -3,7 +3,12 @@
 
 
 language: go
 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.
 # Disable the normal go build.
 install: true
 install: true