]> Git Repo - secp256k1.git/blob - .travis.yml
Configure options reorganization
[secp256k1.git] / .travis.yml
1 language: c
2 compiler:
3   - clang
4   - gcc
5 install:
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
9 env:
10   global:
11     - FIELD=auto  BIGNUM=auto  SCALAR=auto  ENDOMORPHISM=no  ASM=no  BUILD=check  EXTRAFLAGS= HOST= EXTRAPACKAGES=
12   matrix:
13     - SCALAR=32bit
14     - SCALAR=64bit
15     - FIELD=gmp
16     - FIELD=gmp       ENDOMORPHISM=yes
17     - FIELD=64bit
18     - FIELD=64bit     ENDOMORPHISM=yes
19     - FIELD=64bit                       ASM=x86_64
20     - FIELD=64bit     ENDOMORPHISM=yes  ASM=x86_64
21     - FIELD=32bit
22     - FIELD=32bit     ENDOMORPHISM=yes
23     - BIGNUM=no
24     - BIGNUM=no       ENDOMORPHISM=yes
25     - BUILD=distcheck
26     - EXTRAFLAGS=CFLAGS=-DDETERMINISTIC
27     - HOST=i686-linux-gnu EXTRAPACKAGES="gcc-multilib"
28     - HOST=i686-linux-gnu EXTRAPACKAGES="gcc-multilib" ENDOMORPHISM=yes
29 before_script: ./autogen.sh
30 script:
31  - if [ -n "$HOST" ]; then export USE_HOST="--host=$HOST"; fi
32  - if [ "x$HOST" = "xi686-linux-gnu" ]; then export CC="$CC -m32"; fi
33  - ./configure --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM --with-scalar=$SCALAR $EXTRAFLAGS $USE_HOST && make -j2 $BUILD
34 os: linux
This page took 0.024957 seconds and 4 git commands to generate.