Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1# Build matrix / environment variables are explained on:2# http://about.travis-ci.org/docs/user/build-configuration/3# This file can be validated on: http://lint.travis-ci.org/5language: cpp6dist: bionic7osx_image: xcode10.39compiler:10- gcc11- clang12os:13- linux14- osx16env:17- BUILD_TYPE=Debug18- BUILD_TYPE=RelWithDebInfo20addons:21apt:22sources:23- sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main'24key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'25- sourceline: 'ppa:ubuntu-toolchain-r/test'26packages:27- clang-928- cmake29- gcc-930- g++-931- libgoogle-perftools-dev32- libkyotocabinet-dev33- libsnappy-dev34- libsqlite3-dev35- ninja-build36homebrew:37packages:38- cmake39- crc32c40- gcc@941- gperftools42- kyoto-cabinet43- llvm@944- ninja45- snappy46- sqlite347update: true49install:50# The following Homebrew packages aren't linked by default, and need to be51# prepended to the path explicitly.52- if [ "$TRAVIS_OS_NAME" = "osx" ]; then53export PATH="$(brew --prefix llvm)/bin:$PATH";54fi55# /usr/bin/gcc points to an older compiler on both Linux and macOS.56- if [ "$CXX" = "g++" ]; then export CXX="g++-9" CC="gcc-9"; fi57# /usr/bin/clang points to an older compiler on both Linux and macOS.58#59# Homebrew's llvm package doesn't ship a versioned clang++ binary, so the values60# below don't work on macOS. Fortunately, the path change above makes the61# default values (clang and clang++) resolve to the correct compiler on macOS.62- if [ "$TRAVIS_OS_NAME" = "linux" ]; then63if [ "$CXX" = "clang++" ]; then export CXX="clang++-9" CC="clang-9"; fi;64fi65- echo ${CC}66- echo ${CXX}67- ${CXX} --version68- cmake --version70before_script:71- mkdir -p build && cd build72- cmake .. -G Ninja -DCMAKE_BUILD_TYPE=$BUILD_TYPE73-DCMAKE_INSTALL_PREFIX=$HOME/.local74- cmake --build .75- cd ..77script:78- cd build && ctest --verbose && cd ..79- "if [ -f build/db_bench ] ; then build/db_bench ; fi"80- "if [ -f build/db_bench_sqlite3 ] ; then build/db_bench_sqlite3 ; fi"81- "if [ -f build/db_bench_tree_db ] ; then build/db_bench_tree_db ; fi"82- cd build && cmake --build . --target install
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.