From 146374cc8dc0f55bb561383b895f401670281f25 Mon Sep 17 00:00:00 2001 From: Chilledheart Date: Mon, 9 Jun 2014 15:02:41 +0800 Subject: [PATCH] Add travis script --- .travis.yml | 15 +++++++++++++++ README.markdown | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..02cebb7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: c +compiler: + - gcc + - clang +before_install: + - sudo apt-get install libjansson-dev + - git clean -x -f + - ./autogen.sh + - cd demo && python ../lib/searpc-codegen.py rpc_table.py && cd - + - cd tests && python ../lib/searpc-codegen.py rpc_table.py && cd - +script: + - ./configure + - make -j8 +notifications: + email: false diff --git a/README.markdown b/README.markdown index 03553f2..7a5412e 100644 --- a/README.markdown +++ b/README.markdown @@ -1,4 +1,4 @@ -Introduction +Introduction [![Build Status](https://secure.travis-ci.org/haiwen/libsearpc.png?branch=master)](http://travis-ci.org/haiwen/libsearpc) ============ Searpc is a simple C language RPC framework based on GObject system. Searpc