Skip to content

Commit 09d105e

Browse files
committed
ci: Drop travis_fold feature as Travis CI is no longer used
1 parent 6f2ca72 commit 09d105e

File tree

6 files changed

+0
-55
lines changed

6 files changed

+0
-55
lines changed

.cirrus.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ task:
6767
use_compute_credits: $CIRRUS_REPO_FULL_NAME == 'bitcoin/bitcoin'
6868
setup_script:
6969
- set -o errexit; source ./ci/test/00_setup_env.sh
70-
before_install_script:
71-
- set -o errexit; source ./ci/test/03_before_install.sh
7270
install_script:
7371
- set -o errexit; source ./ci/lint/04_install.sh
7472
before_script:

ci/test/03_before_install.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

ci/test/05_before_script.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,5 @@ if [ -z "$NO_DEPENDS" ]; then
4747
DOCKER_EXEC $SHELL_OPTS make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS
4848
fi
4949
if [ -n "$PREVIOUS_RELEASES_TO_DOWNLOAD" ]; then
50-
BEGIN_FOLD previous-versions
5150
DOCKER_EXEC test/get_previous_releases.py -b -t "$PREVIOUS_RELEASES_DIR" "${PREVIOUS_RELEASES_TO_DOWNLOAD}"
52-
END_FOLD
5351
fi

ci/test/06_script_a.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,22 @@ if [ -z "$NO_WERROR" ]; then
1212
fi
1313
DOCKER_EXEC "ccache --zero-stats --max-size=$CCACHE_SIZE"
1414

15-
BEGIN_FOLD autogen
1615
if [ -n "$CONFIG_SHELL" ]; then
1716
DOCKER_EXEC "$CONFIG_SHELL" -c "./autogen.sh"
1817
else
1918
DOCKER_EXEC ./autogen.sh
2019
fi
21-
END_FOLD
2220

2321
DOCKER_EXEC mkdir -p "${BASE_BUILD_DIR}"
2422
export P_CI_DIR="${BASE_BUILD_DIR}"
2523

26-
BEGIN_FOLD configure
2724
DOCKER_EXEC "${BASE_ROOT_DIR}/configure" --cache-file=config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( (DOCKER_EXEC cat config.log) && false)
28-
END_FOLD
2925

30-
BEGIN_FOLD distdir
3126
DOCKER_EXEC make distdir VERSION=$HOST
32-
END_FOLD
3327

3428
export P_CI_DIR="${BASE_BUILD_DIR}/bitcoin-$HOST"
3529

36-
BEGIN_FOLD configure
3730
DOCKER_EXEC ./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( (DOCKER_EXEC cat config.log) && false)
38-
END_FOLD
3931

4032
set -o errtrace
4133
trap 'DOCKER_EXEC "cat ${BASE_SCRATCH_DIR}/sanitizer-output/* 2> /dev/null"' ERR
@@ -48,12 +40,8 @@ if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then
4840
DOCKER_EXEC 'grep -v HAVE_SYS_GETRANDOM src/config/bitcoin-config.h > src/config/bitcoin-config.h.tmp && mv src/config/bitcoin-config.h.tmp src/config/bitcoin-config.h'
4941
fi
5042

51-
BEGIN_FOLD build
5243
DOCKER_EXEC make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && DOCKER_EXEC make $GOAL V=1 ; false )
53-
END_FOLD
5444

55-
BEGIN_FOLD cache_stats
5645
DOCKER_EXEC "ccache --version | head -n 1 && ccache --show-stats"
5746
DOCKER_EXEC du -sh "${DEPENDS_DIR}"/*/
5847
DOCKER_EXEC du -sh "${PREVIOUS_RELEASES_DIR}"
59-
END_FOLD

ci/test/06_script_b.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,55 +7,39 @@
77
export LC_ALL=C.UTF-8
88

99
if [[ $HOST = *-mingw32 ]]; then
10-
BEGIN_FOLD wrap-wine
1110
# Generate all binaries, so that they can be wrapped
1211
DOCKER_EXEC make $MAKEJOBS -C src/secp256k1 VERBOSE=1
1312
DOCKER_EXEC make $MAKEJOBS -C src/univalue VERBOSE=1
1413
DOCKER_EXEC "${BASE_ROOT_DIR}/ci/test/wrap-wine.sh"
15-
END_FOLD
1614
fi
1715

1816
if [ -n "$QEMU_USER_CMD" ]; then
19-
BEGIN_FOLD wrap-qemu
2017
# Generate all binaries, so that they can be wrapped
2118
DOCKER_EXEC make $MAKEJOBS -C src/secp256k1 VERBOSE=1
2219
DOCKER_EXEC make $MAKEJOBS -C src/univalue VERBOSE=1
2320
DOCKER_EXEC "${BASE_ROOT_DIR}/ci/test/wrap-qemu.sh"
24-
END_FOLD
2521
fi
2622

2723
if [ -n "$USE_VALGRIND" ]; then
28-
BEGIN_FOLD wrap-valgrind
2924
DOCKER_EXEC "${BASE_ROOT_DIR}/ci/test/wrap-valgrind.sh"
30-
END_FOLD
3125
fi
3226

3327
if [ "$RUN_UNIT_TESTS" = "true" ]; then
34-
BEGIN_FOLD unit-tests
3528
DOCKER_EXEC ${TEST_RUNNER_ENV} DIR_UNIT_TEST_DATA=${DIR_UNIT_TEST_DATA} LD_LIBRARY_PATH=$DEPENDS_DIR/$HOST/lib make $MAKEJOBS check VERBOSE=1
36-
END_FOLD
3729
fi
3830

3931
if [ "$RUN_UNIT_TESTS_SEQUENTIAL" = "true" ]; then
40-
BEGIN_FOLD unit-tests-seq
4132
DOCKER_EXEC ${TEST_RUNNER_ENV} DIR_UNIT_TEST_DATA=${DIR_UNIT_TEST_DATA} LD_LIBRARY_PATH=$DEPENDS_DIR/$HOST/lib "${BASE_BUILD_DIR}/bitcoin-*/src/test/test_bitcoin*" --catch_system_errors=no -l test_suite
42-
END_FOLD
4333
fi
4434

4535
if [ "$RUN_FUNCTIONAL_TESTS" = "true" ]; then
46-
BEGIN_FOLD functional-tests
4736
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 --timeout-factor=${TEST_RUNNER_TIMEOUT_FACTOR} ${TEST_RUNNER_EXTRA} --quiet --failfast
48-
END_FOLD
4937
fi
5038

5139
if [ "$RUN_SECURITY_TESTS" = "true" ]; then
52-
BEGIN_FOLD security-tests
5340
DOCKER_EXEC make test-security-check
54-
END_FOLD
5541
fi
5642

5743
if [ "$RUN_FUZZ_TESTS" = "true" ]; then
58-
BEGIN_FOLD fuzz-tests
5944
DOCKER_EXEC LD_LIBRARY_PATH=$DEPENDS_DIR/$HOST/lib test/fuzz/test_runner.py ${FUZZ_TESTS_CONFIG} $MAKEJOBS -l DEBUG ${DIR_FUZZ_IN}
60-
END_FOLD
6145
fi

ci/test_run_all.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
export LC_ALL=C.UTF-8
88

99
set -o errexit; source ./ci/test/00_setup_env.sh
10-
set -o errexit; source ./ci/test/03_before_install.sh
1110
set -o errexit; source ./ci/test/04_install.sh
1211
set -o errexit; source ./ci/test/05_before_script.sh
1312
set -o errexit; source ./ci/test/06_script_a.sh

0 commit comments

Comments
 (0)