2017-04-04 04:34:05 +02:00
|
|
|
language: c
|
2019-07-31 12:29:23 +02:00
|
|
|
dist: bionic
|
2017-04-04 04:34:05 +02:00
|
|
|
|
2017-10-31 03:07:53 +01:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
2019-07-31 12:29:23 +02:00
|
|
|
before_install:
|
2020-08-11 13:05:26 +02:00
|
|
|
sudo apt-get install -y libsqlite3-dev cppcheck valgrind gcc-4.8 gettext libc6-dev-armhf-cross libc6-dev-arm64-cross gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf qemu-user-static binfmt-support libsecp256k1-dev libpq-dev postgresql
|
2019-01-25 14:03:00 +01:00
|
|
|
|
2017-06-29 17:17:48 +02:00
|
|
|
env:
|
2020-08-08 14:18:33 +02:00
|
|
|
# These run superficial checks that don't take too long on their own
|
2020-08-31 04:23:09 +02:00
|
|
|
- ARCH=64 TEST_CMD="make" NO_PYTHON=1
|
2020-08-08 14:18:33 +02:00
|
|
|
- ARCH=64 TEST_CMD="make check-source check-units installcheck" COPTFLAGS="-O3"
|
|
|
|
- ARCH=32 TEST_CMD="make check-source check-units installcheck" DEVELOPER=0
|
|
|
|
- ARCH=64 TEST_CMD="make check-source check-units installcheck" DEVELOPER=0 COMPILER=gcc-4.8
|
|
|
|
- ARCH=64 TEST_CMD="make check-source check-units installcheck" DEVELOPER=1 EXPERIMENTAL_FEATURES=1
|
|
|
|
|
|
|
|
# All of the following will just run `make pytest`
|
|
|
|
- VALGRIND=0 ARCH=64 DEVELOPER=1 COMPILER=clang
|
2020-09-24 15:57:09 +02:00
|
|
|
- VALGRIND=0 ARCH=64 DEVELOPER=1 COMPILER=gcc TEST_CHECK_DBSTMTS=1
|
2020-08-08 14:18:33 +02:00
|
|
|
- VALGRIND=0 ARCH=64 DEVELOPER=0 COMPILER=gcc COMPAT=0 TEST_GROUP=1 TEST_GROUP_COUNT=2
|
|
|
|
- VALGRIND=0 ARCH=64 DEVELOPER=0 COMPILER=gcc COMPAT=0 TEST_GROUP=2 TEST_GROUP_COUNT=2
|
|
|
|
|
|
|
|
## All of these are pretty slow since they run under valgrind
|
2020-09-10 02:09:38 +02:00
|
|
|
- VALGRIND=1 ARCH=64 DEVELOPER=1 COMPILER=gcc TEST_GROUP=1 TEST_GROUP_COUNT=11
|
|
|
|
- VALGRIND=1 ARCH=64 DEVELOPER=1 COMPILER=gcc TEST_GROUP=2 TEST_GROUP_COUNT=11
|
|
|
|
- VALGRIND=1 ARCH=64 DEVELOPER=1 COMPILER=gcc TEST_GROUP=3 TEST_GROUP_COUNT=11
|
|
|
|
- VALGRIND=1 ARCH=64 DEVELOPER=1 COMPILER=gcc TEST_GROUP=4 TEST_GROUP_COUNT=11
|
|
|
|
- VALGRIND=1 ARCH=64 DEVELOPER=1 COMPILER=gcc TEST_GROUP=5 TEST_GROUP_COUNT=11
|
|
|
|
- VALGRIND=1 ARCH=64 DEVELOPER=1 COMPILER=gcc TEST_GROUP=6 TEST_GROUP_COUNT=11
|
|
|
|
- VALGRIND=1 ARCH=64 DEVELOPER=1 COMPILER=gcc TEST_GROUP=7 TEST_GROUP_COUNT=11
|
|
|
|
- VALGRIND=1 ARCH=64 DEVELOPER=1 COMPILER=gcc TEST_GROUP=8 TEST_GROUP_COUNT=11
|
|
|
|
- VALGRIND=1 ARCH=64 DEVELOPER=1 COMPILER=gcc TEST_GROUP=9 TEST_GROUP_COUNT=11
|
|
|
|
- VALGRIND=1 ARCH=64 DEVELOPER=1 COMPILER=gcc TEST_GROUP=10 TEST_GROUP_COUNT=11
|
|
|
|
- VALGRIND=1 ARCH=64 DEVELOPER=1 COMPILER=gcc TEST_GROUP=11 TEST_GROUP_COUNT=11
|
2020-08-11 13:06:20 +02:00
|
|
|
|
|
|
|
# Various other configurations
|
|
|
|
- VALGRIND=0 ARCH=64 DEVELOPER=1 NETWORK=liquid-regtest
|
2020-09-23 12:11:16 +02:00
|
|
|
- VALGRIND=0 ARCH=64 DEVELOPER=1 DB=postgres
|
2019-10-21 08:01:12 +02:00
|
|
|
- VALGRIND=0 ARCH=arm32v7 DEVELOPER=1 TARGET_HOST=arm-linux-gnueabihf
|
|
|
|
- VALGRIND=0 ARCH=arm64v8 DEVELOPER=1 TARGET_HOST=aarch64-linux-gnu
|
2020-10-29 16:29:08 +01:00
|
|
|
- VALGRIND=0 ARCH=64 DEVELOPER=1 COMPILER=gcc EXPERIMENTAL_FEATURES=1
|
|
|
|
|
2019-01-25 14:03:00 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
2020-01-29 21:13:09 +01:00
|
|
|
- external/x86_64-linux-gnu
|
|
|
|
- external/aarch64-linux-gnu
|
|
|
|
- external/arm-linux-gnueabihf
|
2020-08-11 13:30:11 +02:00
|
|
|
- dependencies
|
2017-06-29 17:17:48 +02:00
|
|
|
|
2017-04-04 04:34:05 +02:00
|
|
|
script:
|
2019-01-25 14:03:00 +01:00
|
|
|
.travis/build.sh
|