浏览代码

Merge pull request #7311 from tianon/travis-old-go

Add Go 1.2 to Travis so we make sure we keep retrocompat for a little while
Tianon Gravi 11 年之前
父节点
当前提交
335e82f3f7
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      .travis.yml

+ 4 - 1
.travis.yml

@@ -3,8 +3,11 @@
 
 
 language: go
 language: go
 
 
+go:
 # This should match the version in the Dockerfile.
 # This should match the version in the Dockerfile.
-go: 1.3
+  - 1.3
+# Test against older versions too, just for a little extra retrocompat.
+  - 1.2
 
 
 # Let us have pretty experimental Docker-based Travis workers.
 # Let us have pretty experimental Docker-based Travis workers.
 # (These spin up much faster than the VM-based ones.)
 # (These spin up much faster than the VM-based ones.)