Skip to content

Commit 68459dd

Browse files
committed
ci: Use LOG=1 when building depends
1 parent bca7f2a commit 68459dd

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ before_install:
3636
install:
3737
- set -o errexit; source ./ci/test/04_install.sh
3838
before_script:
39-
# Temporary workaround for https://github.com/bitcoin/bitcoin/issues/16368
39+
# Workaround for 10 minutes timeout without producing any output.
40+
# https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
4041
- for i in {1..4}; do echo "$(sleep 500)" ; done &
41-
- set -o errexit; source ./ci/test/05_before_script.sh &> "/dev/null"
42+
- set -o errexit; source ./ci/test/05_before_script.sh
4243
script:
4344
- export CONTINUE=1
4445
- if [ $SECONDS -gt 1200 ]; then export CONTINUE=0; fi # Likely the depends build took very long

ci/test/05_before_script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then
2626
# Use BDB compiled using install_db4.sh script to work around linking issue when using BDB
2727
# from depends. See https://github.com/bitcoin/bitcoin/pull/18288#discussion_r433189350 for
2828
# details.
29-
DOCKER_EXEC "contrib/install_db4.sh \$(pwd) --enable-umrw CC=clang CXX=clang++ CFLAGS='${MSAN_FLAGS}' CXXFLAGS='${MSAN_AND_LIBCXX_FLAGS}'"
29+
DOCKER_EXEC "contrib/install_db4.sh \$(pwd) --enable-umrw CC=clang CXX=clang++ CFLAGS='${MSAN_FLAGS}' CXXFLAGS='${MSAN_AND_LIBCXX_FLAGS}' &> /dev/null"
3030
fi
3131

3232
if [ -n "$XCODE_VERSION" ] && [ -f "$OSX_SDK_PATH" ]; then
@@ -44,7 +44,7 @@ if [ -z "$NO_DEPENDS" ]; then
4444
else
4545
SHELL_OPTS="CONFIG_SHELL="
4646
fi
47-
DOCKER_EXEC $SHELL_OPTS make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS
47+
DOCKER_EXEC $SHELL_OPTS make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS LOG=1
4848
fi
4949
if [ -n "$PREVIOUS_RELEASES_TO_DOWNLOAD" ]; then
5050
BEGIN_FOLD previous-versions

0 commit comments

Comments
 (0)