浏览代码

Adds Travis Cl support to test the code automatically.

Feng Xiao 10 年之前
父节点
当前提交
0c7f6241e5
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 4 0
      .travis.yml
  2. 2 0
      README.md

+ 4 - 0
.travis.yml

@@ -0,0 +1,4 @@
+language: cpp
+script: ./autogen.sh && ./configure && make distcheck
+notifications:
+  email: false

+ 2 - 0
README.md

@@ -1,6 +1,8 @@
 Protocol Buffers - Google's data interchange format
 ===================================================
 
+[![Build Status](https://travis-ci.org/google/protobuf.svg?branch=master)](https://travis-ci.org/google/protobuf)
+
 Copyright 2008 Google Inc.
 
 https://developers.google.com/protocol-buffers/