From b0cc21f896ed12d5b5b057958326b2965aa127ee Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Mon, 16 Jun 2014 21:34:56 -0400 Subject: [PATCH] build: add travis support This adds a huge matrix of builds. The undesirable ones can be removed. --- .travis.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ab8cb69 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,28 @@ +language: cpp +compiler: gcc +install: + - sudo apt-get install yasm libgmp-dev +env: + global: + - FIELD=auto BIGNUM=auto ENDOMORPHISM=no BUILD=check + matrix: + - FIELD=gmp BIGNUM=gmp + - FIELD=gmp BIGNUM=openssl + - FIELD=64bit_asm BIGNUM=gmp + - FIELD=64bit_asm BIGNUM=openssl + - FIELD=64bit BIGNUM=gmp + - FIELD=64bit BIGNUM=openssl + - FIELD=32bit BIGNUM=gmp + - FIELD=32bit BIGNUM=openssl + - FIELD=gmp BIGNUM=gmp ENDOMORPHISM=yes + - FIELD=gmp BIGNUM=openssl ENDOMORPHISM=yes + - FIELD=64bit_asm BIGNUM=gmp ENDOMORPHISM=yes + - FIELD=64bit_asm BIGNUM=openssl ENDOMORPHISM=yes + - FIELD=64bit BIGNUM=gmp ENDOMORPHISM=yes + - FIELD=64bit BIGNUM=openssl ENDOMORPHISM=yes + - FIELD=32bit BIGNUM=gmp ENDOMORPHISM=yes + - FIELD=32bit BIGNUM=openssl ENDOMORPHISM=yes + - BUILD=distcheck +before_script: ./autogen.sh +script: ./configure --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM && make -j2 $BUILD +os: linux