2
0
Эх сурвалжийг харах

Merge pull request #202 from Quuxplusone/travis-ci

Set up TravisCI for continuous testing
Troy D. Hanson 5 жил өмнө
parent
commit
28334219b5
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/