Skip to content

Commit 8dd8017

Browse files
committed
ipc-build2 # Add multiprocess travis configuration
Add multiprocess travis configuration
1 parent cddf96f commit 8dd8017

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
@@ -158,6 +158,11 @@ jobs:
158158
env: >-
159159
FILE_ENV="./ci/test/00_setup_env_native_fuzz_with_valgrind.sh"
160160
161+
- stage: test
162+
name: 'x86_64 Linux [GOAL: install] [bionic] [multiprocess]'
163+
env: >-
164+
FILE_ENV="./ci/test/00_setup_env_native_multiprocess.sh"
165+
161166
- stage: test
162167
name: 'x86_64 Linux [GOAL: install] [bionic] [no wallet]'
163168
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 libc6-dev-amd64-cross"
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
@@ -37,7 +37,7 @@ fi
3737

3838
if [ "$RUN_FUNCTIONAL_TESTS" = "true" ]; then
3939
BEGIN_FOLD functional-tests
40-
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
40+
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
4141
END_FOLD
4242
fi
4343

0 commit comments

Comments
 (0)