aboutsummaryrefslogtreecommitdiff
path: root/src/secp256k1/.travis.yml
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-11-18 18:06:36 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2014-11-18 18:06:36 +0100
commit2245a95ce8b35db19526f0ed6cba1e9850108340 (patch)
treed63b42106713225ccfb3780ad519e4a512733f77 /src/secp256k1/.travis.yml
parent7a7e10913989aca949a2d42f29e3ffdcd14313f3 (diff)
parentd48555b36ac512161b81f9b6bca7bea16a0cd806 (diff)
Merge commit 'd48555b36ac512161b81f9b6bca7bea16a0cd806' as 'src/secp256k1'
Diffstat (limited to 'src/secp256k1/.travis.yml')
-rw-r--r--src/secp256k1/.travis.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/secp256k1/.travis.yml b/src/secp256k1/.travis.yml
new file mode 100644
index 0000000000..24a86b561b
--- /dev/null
+++ b/src/secp256k1/.travis.yml
@@ -0,0 +1,25 @@
+language: cpp
+compiler: gcc
+install:
+ - sudo apt-get install -qq libssl-dev
+ - if [ "$BIGNUM" = "gmp" -o "$BIGNUM" = "auto" -o "$FIELD" = "gmp" ]; then sudo apt-get install -qq libgmp-dev; fi
+ - if [ "$FIELD" = "64bit_asm" ]; then sudo apt-get install -qq yasm; fi
+env:
+ global:
+ - FIELD=auto BIGNUM=auto SCALAR=auto ENDOMORPHISM=no BUILD=check EXTRAFLAGS=
+ matrix:
+ - SCALAR=32bit
+ - SCALAR=64bit
+ - FIELD=gmp
+ - FIELD=gmp ENDOMORPHISM=yes
+ - FIELD=64bit_asm
+ - FIELD=64bit_asm ENDOMORPHISM=yes
+ - FIELD=64bit
+ - FIELD=64bit ENDOMORPHISM=yes
+ - FIELD=32bit
+ - FIELD=32bit ENDOMORPHISM=yes
+ - BUILD=distcheck
+ - EXTRAFLAGS=CFLAGS=-DDETERMINISTIC
+before_script: ./autogen.sh
+script: ./configure --enable-endomorphism=$ENDOMORPHISM --with-field=$FIELD --with-bignum=$BIGNUM --with-scalar=$SCALAR $EXTRAFLAGS && make -j2 $BUILD
+os: linux