Navigation Menu

Skip to content

Commit

Permalink
Remove installation in the case of timeout during build
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Marie Verdun <jmverdun3@gmail.com>
  • Loading branch information
vejmarie authored and wwmayer committed Nov 3, 2020
1 parent f35d30b commit 50208b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -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
Expand Down

0 comments on commit 50208b8

Please sign in to comment.