mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
Add multiprocess travis configuration
This commit is contained in:
parent
787f40668d
commit
d54f64c6c7
3 changed files with 20 additions and 1 deletions
|
@ -141,6 +141,11 @@ jobs:
|
||||||
env: >-
|
env: >-
|
||||||
FILE_ENV="./ci/test/00_setup_env_native_fuzz_with_valgrind.sh"
|
FILE_ENV="./ci/test/00_setup_env_native_fuzz_with_valgrind.sh"
|
||||||
|
|
||||||
|
- stage: test
|
||||||
|
name: 'x86_64 Linux [GOAL: install] [bionic] [multiprocess]'
|
||||||
|
env: >-
|
||||||
|
FILE_ENV="./ci/test/00_setup_env_native_multiprocess.sh"
|
||||||
|
|
||||||
- stage: test
|
- stage: test
|
||||||
name: 'x86_64 Linux [GOAL: install] [bionic] [no wallet]'
|
name: 'x86_64 Linux [GOAL: install] [bionic] [no wallet]'
|
||||||
env: >-
|
env: >-
|
||||||
|
|
14
ci/test/00_setup_env_native_multiprocess.sh
Normal file
14
ci/test/00_setup_env_native_multiprocess.sh
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020 The Bitcoin Core developers
|
||||||
|
# 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
|
||||||
|
|
||||||
|
export CONTAINER_NAME=ci_native_multiprocess
|
||||||
|
export PACKAGES="cmake python3"
|
||||||
|
export DEP_OPTS="MULTIPROCESS=1"
|
||||||
|
export GOAL="install"
|
||||||
|
export BITCOIN_CONFIG=""
|
||||||
|
export TEST_RUNNER_ENV="BITCOIND=bitcoin-node"
|
|
@ -30,7 +30,7 @@ fi
|
||||||
|
|
||||||
if [ "$RUN_FUNCTIONAL_TESTS" = "true" ]; then
|
if [ "$RUN_FUNCTIONAL_TESTS" = "true" ]; then
|
||||||
BEGIN_FOLD functional-tests
|
BEGIN_FOLD functional-tests
|
||||||
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
|
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
|
||||||
END_FOLD
|
END_FOLD
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue