From fe39284d504d54b5b47c28ed034e22578d6a0988 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Mon, 6 Jun 2016 12:42:33 +0200 Subject: [PATCH] Travis-CI: Verify installation and run unit tests Signed-off-by: Joachim Nilsson --- .travis.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9a83269..c99bac5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,8 @@ -# Travis CI integration -- https://travis-ci.org/troglobit/libuev +# Travis CI integration -- https://travis-ci.org/troglobit/libite # Defaults to GNU GCC and autotools: ./configure && make && make test language: c -# Some of the autotests may use sudo, so use non-dockerized build atm. -# http://stackoverflow.com/questions/26299552/travis-sudo-is-disabled -#sudo: true +# Use docker for quicker builds, it now allows https://docs.travis-ci.com/user/apt/ sudo: false # Test build with both GCC and Clang (LLVM) @@ -12,8 +10,11 @@ compiler: - gcc - clang -# - make test script: - ./autogen.sh - - ./configure --disable-silent-rules - - make -j5 clean all + - ./configure --prefix=/tmp --disable-silent-rules + - make clean + - make -j5 + - make install-strip + - ls -lR /tmp + - make check