瀏覽代碼

Set up TravisCI for continuous testing.

And add a TravisCI badge to the README.
https://travis-ci.org/troydhanson/uthash
Arthur O'Dwyer 8 年之前
父節點
當前提交
6a8cc18e3d
共有 2 個文件被更改,包括 12 次插入0 次删除
  1. 10 0
      .travis.yml
  2. 2 0
      README.md

+ 10 - 0
.travis.yml

@@ -0,0 +1,10 @@
+language: cpp
+compiler:
+- clang
+- gcc
+script:
+- make -C tests
+- make -C tests pedantic
+- make -C tests pedantic EXTRA_CFLAGS=-DNO_DECLTYPE
+- make -C tests cplusplus
+- make -C tests cplusplus EXTRA_CFLAGS=-DNO_DECLTYPE

+ 2 - 0
README.md

@@ -1,4 +1,6 @@
 
+[![Build status](https://travis-ci.org/Quuxplusone/uthash.svg?branch=travis-ci)](https://travis-ci.org/troydhanson/uthash)
+
 Documentation for uthash is available at:
 
 http://troydhanson.github.com/uthash/