Skip to content

Commit d54f64c

Browse files
committed
Add multiprocess travis configuration
1 parent 787f406 commit d54f64c

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ jobs:
141141
env: >-
142142
FILE_ENV="./ci/test/00_setup_env_native_fuzz_with_valgrind.sh"
143143
144+
- stage: test
145+
name: 'x86_64 Linux [GOAL: install] [bionic] [multiprocess]'
146+
env: >-
147+
FILE_ENV="./ci/test/00_setup_env_native_multiprocess.sh"
148+
144149
- stage: test
145150
name: 'x86_64 Linux [GOAL: install] [bionic] [no wallet]'
146151
env: >-
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright (c) 2020 The Bitcoin Core developers
4+
# Distributed under the MIT software license, see the accompanying
5+
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
6+
7+
export LC_ALL=C.UTF-8
8+
9+
export CONTAINER_NAME=ci_native_multiprocess
10+
export PACKAGES="cmake python3"
11+
export DEP_OPTS="MULTIPROCESS=1"
12+
export GOAL="install"
13+
export BITCOIN_CONFIG=""
14+
export TEST_RUNNER_ENV="BITCOIND=bitcoin-node"

ci/test/06_script_b.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fi
3030

3131
if [ "$RUN_FUNCTIONAL_TESTS" = "true" ]; then
3232
BEGIN_FOLD functional-tests
33-
DOCKER_EXEC LD_LIBRARY_PATH=$DEPENDS_DIR/$HOST/lib test/functional/test_runner.py --ci $MAKEJOBS --tmpdirprefix "${BASE_SCRATCH_DIR}/test_runner/" --ansi --combinedlogslen=4000 ${TEST_RUNNER_EXTRA} --quiet --failfast
33+
DOCKER_EXEC LD_LIBRARY_PATH=$DEPENDS_DIR/$HOST/lib ${TEST_RUNNER_ENV} test/functional/test_runner.py --ci $MAKEJOBS --tmpdirprefix "${BASE_SCRATCH_DIR}/test_runner/" --ansi --combinedlogslen=4000 ${TEST_RUNNER_EXTRA} --quiet --failfast
3434
END_FOLD
3535
fi
3636

0 commit comments

Comments
 (0)