2019-11-15 13:38:27 -03:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2020-04-16 13:14:08 -04:00
|
|
|
# Copyright (c) 2019-2020 The Bitcoin Core developers
|
2019-11-15 13:38:27 -03:00
|
|
|
# Distributed under the MIT software license, see the accompanying
|
|
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
export LC_ALL=C.UTF-8
|
|
|
|
|
2020-02-04 21:43:10 -03:00
|
|
|
export CONTAINER_NAME=ci_native_valgrind
|
2020-03-04 23:05:49 -03:00
|
|
|
export PACKAGES="valgrind clang llvm python3-zmq libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev"
|
2019-11-15 13:38:27 -03:00
|
|
|
export USE_VALGRIND=1
|
|
|
|
export NO_DEPENDS=1
|
2020-04-17 09:01:54 -04:00
|
|
|
if [[ "${TRAVIS}" == "true" && "${TRAVIS_REPO_SLUG}" != "bitcoin/bitcoin" ]]; then
|
|
|
|
export TEST_RUNNER_EXTRA="wallet_disable" # Only run wallet_disable as a smoke test to not hit the 50 min travis time limit
|
|
|
|
else
|
|
|
|
export TEST_RUNNER_EXTRA="--exclude rpc_bind" # Excluded for now, see https://github.com/bitcoin/bitcoin/issues/17765#issuecomment-602068547
|
|
|
|
fi
|
2019-11-15 13:38:27 -03:00
|
|
|
export GOAL="install"
|
|
|
|
export BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=no CC=clang CXX=clang++" # TODO enable GUI
|