Code

Added t/cibuild.sh and use that in the Travis configuration.
authorSebastian Harl <sh@tokkee.org>
Wed, 8 Jan 2014 10:10:41 +0000 (11:10 +0100)
committerSebastian Harl <sh@tokkee.org>
Wed, 8 Jan 2014 10:10:41 +0000 (11:10 +0100)
This allows for some more flexiblity.

.travis.yml
t/cibuild.sh [new file with mode: 0755]

index f0a3403e855b8c4b7c03236eb6bae17310d63946..f544023a3f4b0e717ed6fcda5c58d681da693c91 100644 (file)
@@ -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 (executable)
index 0000000..fdf4bad
--- /dev/null
@@ -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