Explorar o código

build: add travis configuration

Jonathan Boulle %!s(int64=11) %!d(string=hai) anos
pai
achega
0241b8ba9a
Modificáronse 2 ficheiros con 12 adicións e 0 borrados
  1. 10 0
      .travis.yml
  2. 2 0
      README.md

+ 10 - 0
.travis.yml

@@ -0,0 +1,10 @@
+language: go
+go:
+  - 1.3
+  - 1.2
+
+install:
+ - go get code.google.com/p/go.tools/cmd/cover
+
+script:
+ - ./test

+ 2 - 0
README.md

@@ -1,5 +1,7 @@
 # etcd
 
+[![Build Status](https://travis-ci.org/coreos/etcd.png?branch=master)](https://travis-ci.org/coreos/etcd)
+
 ### WARNING ###
 
 The current `master` branch of etcd is under heavy development in anticipation of the forthcoming 0.5.0 release.