From e961d7c8caf80826410c2cb89534257b8593ef2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Fri, 16 Oct 2015 21:07:43 -0400 Subject: [PATCH] travis: attempt to fix Ubuntu build --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2a5be885..02d1b499 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -sudo: required +sudo: false services: - docker @@ -18,14 +18,16 @@ addons: before_install: - echo $LANG - echo $LC_ALL - - if [ $TRAVIS_OS_NAME == linux ]; then git clone https://github.com/msgpack/msgpack-c.git && cd msgpack-c && mkdir build && cmake .. && make -j && sudo make install; fi + - if [ $TRAVIS_OS_NAME == linux ]; then git clone https://github.com/msgpack/msgpack-c.git && cd msgpack-c && mkdir build && cmake -DCMAKE_INSTALL_PREFIX=$HOME/usr .. && make -j && make install; fi - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install llvm36 && brew install msgpack && brew install gnutls && brew link --force llvm36; fi before_script: - - if [ $TRAVIS_OS_NAME == linux ]; then travis_retry ./autogen.sh && ./configure; fi + - if [ $TRAVIS_OS_NAME == linux ]; then travis_retry ./autogen.sh && ./configure --prefix=$HOME/usr; fi - if [ $TRAVIS_OS_NAME == osx ]; then travis_retry ./autogen.sh && ./configure; fi -script: make -j +script: + - ls -R $HOME/usr + - make -j notifications: email: -- GitLab