aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml6
-rw-r--r--ci/test/00_setup_env_s390x.sh18
2 files changed, 24 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 3ede878839..6612d5e4d1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -103,6 +103,12 @@ jobs:
QEMU_USER_CMD="" # Can run the tests natively without qemu
- stage: test
+ name: 'S390x [GOAL: install] [unit tests, functional tests]'
+ arch: s390x
+ env: >-
+ FILE_ENV="./ci/test/00_setup_env_s390x.sh"
+
+ - stage: test
name: 'Win64 [GOAL: deploy] [unit tests, no gui, no functional tests]'
env: >-
FILE_ENV="./ci/test/00_setup_env_win64.sh"
diff --git a/ci/test/00_setup_env_s390x.sh b/ci/test/00_setup_env_s390x.sh
new file mode 100644
index 0000000000..b41d44c61a
--- /dev/null
+++ b/ci/test/00_setup_env_s390x.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2019 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 HOST=s390x-unknown-linux-gnu
+export DOCKER_NAME_TAG=s390x/ubuntu:18.04
+export PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev"
+export NO_DEPENDS=1
+export RUN_UNIT_TESTS=true
+export RUN_FUNCTIONAL_TESTS=false
+export GOAL="install"
+export BITCOIN_CONFIG="--enable-reduce-exports --with-incompatible-bdb"
+
+lscpu