7 # Valgrind currently supports upto macOS 10.13, the latest xcode of that version is 10.1
20 - WIDEMUL=auto BIGNUM=auto STATICPRECOMPUTATION=yes ECMULTGENPRECISION=auto ASM=no BUILD=check WITH_VALGRIND=yes RUN_VALGRIND=no EXTRAFLAGS= HOST= ECDH=no RECOVERY=no SCHNORRSIG=no EXPERIMENTAL=no CTIMETEST=yes BENCH=yes ITERS=2
22 - WIDEMUL=int64 RECOVERY=yes
23 - WIDEMUL=int64 ECDH=yes EXPERIMENTAL=yes SCHNORRSIG=yes
25 - WIDEMUL=int128 RECOVERY=yes EXPERIMENTAL=yes SCHNORRSIG=yes
26 - WIDEMUL=int128 ECDH=yes EXPERIMENTAL=yes SCHNORRSIG=yes
27 - WIDEMUL=int128 ASM=x86_64
29 - BIGNUM=no RECOVERY=yes EXPERIMENTAL=yes SCHNORRSIG=yes
30 - BIGNUM=no STATICPRECOMPUTATION=no
31 - BUILD=distcheck WITH_VALGRIND=no CTIMETEST=no BENCH=no
32 - CPPFLAGS=-DDETERMINISTIC
33 - CFLAGS=-O0 CTIMETEST=no
34 - CFLAGS="-fsanitize=undefined -fno-omit-frame-pointer" LDFLAGS="-fsanitize=undefined -fno-omit-frame-pointer" UBSAN_OPTIONS="print_stacktrace=1:halt_on_error=1" BIGNUM=no ASM=x86_64 ECDH=yes RECOVERY=yes EXPERIMENTAL=yes SCHNORRSIG=yes CTIMETEST=no
35 - ECMULTGENPRECISION=2
36 - ECMULTGENPRECISION=8
37 - RUN_VALGRIND=yes BIGNUM=no ASM=x86_64 ECDH=yes RECOVERY=yes EXPERIMENTAL=yes SCHNORRSIG=yes EXTRAFLAGS="--disable-openssl-tests" BUILD=
43 env: HOST=i686-linux-gnu
53 env: HOST=i686-linux-gnu
63 env: HOST=i686-linux-gnu
74 env: HOST=i686-linux-gnu
83 # S390x build (big endian system)
85 env: HOST=s390x-unknown-linux-gnu ECDH=yes RECOVERY=yes EXPERIMENTAL=yes SCHNORRSIG=yes CTIMETEST=
88 # We use this to install macOS dependencies instead of the built in `homebrew` plugin,
89 # because in xcode earlier than 11 they have a bug requiring updating the system which overall takes ~8 minutes.
90 # https://travis-ci.community/t/macos-build-fails-because-of-homebrew-bundle-unknown-command/7296
92 - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install gmp valgrind gcc@9; fi
94 before_script: ./autogen.sh
96 # travis auto terminates jobs that go for 10 minutes without printing to stdout, but travis_wait doesn't work well with forking programs like valgrind (https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received https://github.com/bitcoin-core/secp256k1/pull/750#issuecomment-623476860)
98 - function keep_alive() { while true; do echo -en "\a"; sleep 60; done }
100 - ./contrib/travis.sh
105 - cat ./exhaustive_tests.log
106 - cat ./valgrind_ctime_test.log