11 - FIELD=auto BIGNUM=auto SCALAR=auto ENDOMORPHISM=no STATICPRECOMPUTATION=yes ECMULTGENPRECISION=auto ASM=no BUILD=check EXTRAFLAGS= HOST= ECDH=no RECOVERY=no EXPERIMENTAL=no
13 - SCALAR=32bit RECOVERY=yes
14 - SCALAR=32bit FIELD=32bit ECDH=yes EXPERIMENTAL=yes
16 - FIELD=64bit RECOVERY=yes
17 - FIELD=64bit ENDOMORPHISM=yes
18 - FIELD=64bit ENDOMORPHISM=yes ECDH=yes EXPERIMENTAL=yes
19 - FIELD=64bit ASM=x86_64
20 - FIELD=64bit ENDOMORPHISM=yes ASM=x86_64
21 - FIELD=32bit ENDOMORPHISM=yes
23 - BIGNUM=no ENDOMORPHISM=yes RECOVERY=yes EXPERIMENTAL=yes
24 - BIGNUM=no STATICPRECOMPUTATION=no
26 - EXTRAFLAGS=CPPFLAGS=-DDETERMINISTIC
27 - EXTRAFLAGS=CFLAGS=-O0
28 - ECMULTGENPRECISION=2
29 - ECMULTGENPRECISION=8
34 env: HOST=i686-linux-gnu ENDOMORPHISM=yes
41 env: HOST=i686-linux-gnu
47 env: HOST=i686-linux-gnu ENDOMORPHISM=yes
53 env: HOST=i686-linux-gnu
61 - BIGNUM=no ENDOMORPHISM=yes ASM=x86_64 EXPERIMENTAL=yes ECDH=yes RECOVERY=yes
62 - VALGRIND=yes EXTRAFLAGS="--disable-openssl-tests CPPFLAGS=-DVALGRIND" BUILD=
68 env: # The same as above but without endomorphism.
69 - BIGNUM=no ENDOMORPHISM=no ASM=x86_64 EXPERIMENTAL=yes ECDH=yes RECOVERY=yes
70 - VALGRIND=yes EXTRAFLAGS="--disable-openssl-tests CPPFLAGS=-DVALGRIND" BUILD=
76 before_script: ./autogen.sh
79 - if [ -n "$HOST" ]; then export USE_HOST="--host=$HOST"; fi
80 - if [ "x$HOST" = "xi686-linux-gnu" ]; then export CC="$CC -m32"; fi
81 - ./configure --enable-experimental=$EXPERIMENTAL --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM --with-asm=$ASM --with-scalar=$SCALAR --enable-ecmult-static-precomputation=$STATICPRECOMPUTATION --with-ecmult-gen-precision=$ECMULTGENPRECISION --enable-module-ecdh=$ECDH --enable-module-recovery=$RECOVERY $EXTRAFLAGS $USE_HOST
82 - if [ -n "$BUILD" ]; then make -j2 $BUILD; fi
83 - # travis_wait extends the 10 minutes without output allowed (https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received)
84 - # the `--error-exitcode` is required to make the test fail if valgrind found errors, otherwise it'll return 0 (http://valgrind.org/docs/manual/manual-core.html)
85 - if [ -n "$VALGRIND" ]; then
87 travis_wait 30 valgrind --error-exitcode=42 ./tests 16 &&
88 travis_wait 30 valgrind --error-exitcode=42 ./exhaustive_tests;
93 - cat ./exhaustive_tests.log