From d9cc21b3c843f7071f28c5d2a097d17d7e6d0f7d Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 16 Apr 2016 21:12:45 +0200 Subject: [PATCH] Travis-CI: Attempt to build w/o root privs Signed-off-by: Joachim Nilsson --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index c9dcbd16..415aa1b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,10 @@ language: c # Use docker for quicker builds, it now allows https://docs.travis-ci.com/user/apt/ -#sudo: false +sudo: false # Use non-docker builds atm. to install libuEv and libite from source -sudo: true +#sudo: true # Test build with both GCC and Clang (LLVM) compiler: @@ -37,14 +37,14 @@ install: - wget https://github.com/troglobit/libite/releases/download/v1.5.0/libite-1.5.0.tar.xz - tar xf libuev-1.4.0.tar.xz - tar xf libite-1.5.0.tar.xz - - (cd libuev-1.4.0 && ./configure && make && sudo make install) - - (cd libite-1.5.0 && ./configure && make && sudo make install) - - sudo ldconfig + - (cd libuev-1.4.0 && ./configure --prefix= && make && DESTDIR=/tmp make install) + - (cd libite-1.5.0 && ./configure --prefix= && make && DESTDIR=/tmp make install) +# - sudo ldconfig # Custom build script for the time being, no "make test" yet script: - ./autogen.sh - - ./configure --prefix= + - PKG_CONFIG_PATH=/tmp/lib/pkgconfig ./configure --prefix= - make clean - make -j5 - DESTDIR=/tmp make install-strip