Browse Source

Merge pull request #1037 from jonboulle/travis

build: add travis configuration
Xiang Li 11 years ago
parent
commit
7ac3afc02b
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
 # etcd
 
 
+[![Build Status](https://travis-ci.org/coreos/etcd.png?branch=master)](https://travis-ci.org/coreos/etcd)
+
 ### WARNING ###
 ### WARNING ###
 
 
 The current `master` branch of etcd is under heavy development in anticipation of the forthcoming 0.5.0 release. 
 The current `master` branch of etcd is under heavy development in anticipation of the forthcoming 0.5.0 release.