From f3e12a98a031caca6a2000033e3e2c75503f6488 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 10 Jan 2016 18:49:30 +0100 Subject: [PATCH] Update build script for Travis-CI with GNU configure and build system Signed-off-by: Joachim Nilsson --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 41ed356..b5655b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,11 +17,14 @@ addons: name: "troglobit/libuev" description: "libuEv | Simple event loop for Linux" notification_email: troglobit@gmail.com - build_command: "make" + build_command_prepend: "./autogen && ./configure --enable-examples" + build_command: "make clean all" branch_pattern: dev # We don't use configure, so we must define our own build script. script: - - make distclean - - make -j5 + - [ -f Makefile ] && make distclean + - ./autogen.sh + - ./configure --disable-silent-rules --enable-examples + - make -j5 clean all - make test