7 # Valgrind currently supports upto macOS 10.13, the latest xcode of that version is 10.1
20 - FIELD=auto BIGNUM=auto SCALAR=auto ENDOMORPHISM=no STATICPRECOMPUTATION=yes ECMULTGENPRECISION=auto ASM=no BUILD=check EXTRAFLAGS= HOST= ECDH=no RECOVERY=no EXPERIMENTAL=no CTIMETEST=yes BENCH=yes ITERS=2
22 - SCALAR=32bit RECOVERY=yes
23 - SCALAR=32bit FIELD=32bit ECDH=yes EXPERIMENTAL=yes
25 - FIELD=64bit RECOVERY=yes
26 - FIELD=64bit ENDOMORPHISM=yes
27 - FIELD=64bit ENDOMORPHISM=yes ECDH=yes EXPERIMENTAL=yes
28 - FIELD=64bit ASM=x86_64
29 - FIELD=64bit ENDOMORPHISM=yes ASM=x86_64
30 - FIELD=32bit ENDOMORPHISM=yes
32 - BIGNUM=no ENDOMORPHISM=yes RECOVERY=yes EXPERIMENTAL=yes
33 - BIGNUM=no STATICPRECOMPUTATION=no
34 - BUILD=distcheck CTIMETEST=no BENCH=no
35 - CPPFLAGS=-DDETERMINISTIC
36 - CFLAGS=-O0 CTIMETEST=no
37 - ECMULTGENPRECISION=2
38 - ECMULTGENPRECISION=8
39 - VALGRIND=yes ENDOMORPHISM=yes BIGNUM=no ASM=x86_64 EXPERIMENTAL=yes ECDH=yes RECOVERY=yes EXTRAFLAGS="--disable-openssl-tests" CPPFLAGS=-DVALGRIND BUILD=
40 - VALGRIND=yes BIGNUM=no ASM=x86_64 EXPERIMENTAL=yes ECDH=yes RECOVERY=yes EXTRAFLAGS="--disable-openssl-tests" CPPFLAGS=-DVALGRIND BUILD=
46 env: HOST=i686-linux-gnu ENDOMORPHISM=yes
56 env: HOST=i686-linux-gnu
66 env: HOST=i686-linux-gnu ENDOMORPHISM=yes
77 env: HOST=i686-linux-gnu
87 # We use this to install macOS dependencies instead of the built in `homebrew` plugin,
88 # because in xcode earlier than 11 they have a bug requiring updating the system which overall takes ~8 minutes.
89 # https://travis-ci.community/t/macos-build-fails-because-of-homebrew-bundle-unknown-command/7296
91 - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install gmp valgrind gcc@9; fi
93 before_script: ./autogen.sh
95 # 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)
97 - function keep_alive() { while true; do echo -en "\a"; sleep 60; done }
104 - cat ./exhaustive_tests.log
105 - cat ./valgrind_ctime_test.log