Browse Source

build: add travis configuration

Jonathan Boulle 11 years ago
parent
commit
0241b8ba9a
2 changed files with 12 additions and 0 deletions
  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.