6 - sudo apt-get install -qq libssl-dev
7 - if [ "$BIGNUM" = "gmp" -o "$BIGNUM" = "auto" -o "$FIELD" = "gmp" ]; then sudo apt-get install --no-install-recommends --no-upgrade -qq libgmp-dev; fi
8 - if [ -n "$EXTRAPACKAGES" ]; then sudo apt-get update && sudo apt-get install --no-install-recommends --no-upgrade $EXTRAPACKAGES; fi
11 - FIELD=auto BIGNUM=auto SCALAR=auto ENDOMORPHISM=no BUILD=check ENABLE_TESTS=yes EXTRAFLAGS= HOST= EXTRAPACKAGES=
16 - FIELD=gmp ENDOMORPHISM=yes
18 - FIELD=64bit_asm ENDOMORPHISM=yes
20 - FIELD=64bit ENDOMORPHISM=yes
22 - FIELD=32bit ENDOMORPHISM=yes
24 - BIGNUM=none ENDOMORPHISM=yes
26 - EXTRAFLAGS=CFLAGS=-DDETERMINISTIC
27 - HOST=i686-linux-gnu EXTRAPACKAGES="gcc-multilib" ENABLE_TESTS=no
28 before_script: ./autogen.sh
30 - if [ -n "$HOST" ]; then export USE_HOST="--host=$HOST"; fi
31 - if [ "x$HOST" = "xi686-linux-gnu" ]; then export CC="$CC -m32"; fi
32 - ./configure --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM --with-scalar=$SCALAR --enable-tests=$ENABLE_TESTS $EXTRAFLAGS $USE_HOST && make -j2 $BUILD