From 21fdc2825b43ba4df38c0eebcbc481e7a419255f Mon Sep 17 00:00:00 2001 From: Jean-Marie Verdun Date: Fri, 30 Oct 2020 19:19:32 -0700 Subject: [PATCH] Remove installation in the case of timeout during build Signed-off-by: Jean-Marie Verdun --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c7375810f1..a35c80b5b1 100755 --- a/.travis.yml +++ b/.travis.yml @@ -339,7 +339,7 @@ script: cat $HOME/.ccache/ccache.conf ccache -z -s df -h - if [ "${TRAVIS_OS_NAME}" == "osx" ]; then export PATH="/usr/local/opt/ccacche/libexec:$PATH"; sudo gtimeout -s KILL 5400 make -j2; [ $? == 0 ] && echo "No timeout" || { ccache -s; sudo make -j2 install; ccache -s; return 0; } fi + if [ "${TRAVIS_OS_NAME}" == "osx" ]; then export PATH="/usr/local/opt/ccacche/libexec:$PATH"; sudo gtimeout -s KILL 5400 make -j2; [ $? == 0 ] && echo "No timeout" || { ccache -s; return 0; } fi if [ "${TRAVIS_OS_NAME}" == "linux" ]; then sudo timeout -k 175m 170m make -j2 install || true; fi sudo make -j2 install ccache -s