From ddfddb7cf99d898a70e911fa0d0ed4597a47b603 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 8 Jan 2014 11:10:41 +0100 Subject: [PATCH] Added t/cibuild.sh and use that in the Travis configuration. This allows for some more flexiblity. --- .travis.yml | 4 +--- t/cibuild.sh | 12 ++++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100755 t/cibuild.sh 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 -- 2.30.2