From: Sebastian Harl Date: Wed, 8 Jan 2014 10:10:41 +0000 (+0100) Subject: Added t/cibuild.sh and use that in the Travis configuration. X-Git-Tag: sysdb-0.1.0~245^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ddfddb7cf99d898a70e911fa0d0ed4597a47b603;p=sysdb.git Added t/cibuild.sh and use that in the Travis configuration. This allows for some more flexiblity. --- diff --git a/.travis.yml b/.travis.yml index f0a3403..f544023 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,7 @@ install: - sudo apt-get install -qq check flex bison libtool - sudo apt-get install -qq libdbi-dev libedit-dev libltdl-dev - sudo pip install cpp-coveralls --use-mirrors -before_script: - - ./autogen.sh -script: ./configure --enable-gcov CFLAGS="-O0 -Wno-sign-conversion" && make && make test +script: ./t/cibuild.sh after_success: - coveralls --exclude t --verbose branches: diff --git a/t/cibuild.sh b/t/cibuild.sh new file mode 100755 index 0000000..fdf4bad --- /dev/null +++ b/t/cibuild.sh @@ -0,0 +1,12 @@ +#! /bin/bash +# +# SysDB -- t/cibuild.sh +# +# Run a continuous integration build for the System DataBase. + +set -ex + +./autogen.sh +./configure --enable-gcov CFLAGS="-O0 -Wno-sign-conversion" +make clean all +make test