aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2020-04-11 00:40:44 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2020-04-11 11:30:27 -0700
commitc31cbe7cfefc18123eb85ffb2ce509748435efde (patch)
treea1d30925c2b2356e87cf875228a385cddef1155f
parent7829685e27aae25efb32e07368175c8f664b2218 (diff)
Add C++17 test to Travis
-rw-r--r--.travis.yml5
-rw-r--r--ci/test/00_setup_env_native_cxx17.sh13
2 files changed, 18 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index e4eeb9b614..def4875191 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -149,6 +149,11 @@ jobs:
FILE_ENV="./ci/test/00_setup_env_native_valgrind.sh"
- stage: test
+ name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, c++17]'
+ env: >-
+ FILE_ENV="./ci/test/00_setup_env_native_cxx17.sh"
+
+ - stage: test
name: 'x86_64 Linux [GOAL: install] [focal] [no depends, only system libs, sanitizers: fuzzer,address,undefined]'
env: >-
FILE_ENV="./ci/test/00_setup_env_native_fuzz.sh"
diff --git a/ci/test/00_setup_env_native_cxx17.sh b/ci/test/00_setup_env_native_cxx17.sh
new file mode 100644
index 0000000000..9a75276420
--- /dev/null
+++ b/ci/test/00_setup_env_native_cxx17.sh
@@ -0,0 +1,13 @@
+#!/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_cxx17
+export PACKAGES="python3-zmq libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev"
+export NO_DEPENDS=1
+export GOAL="install"
+export BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --enable-c++17"