Skip to content

Commit

Permalink
Merge pull request #32
Browse files Browse the repository at this point in the history
b0cc21f build: add travis support (Cory Fields)
d409087 build: add autogen. How was this missing? (Cory Fields)
  • Loading branch information
sipa committed Jun 20, 2014
2 parents 9849c68 + b0cc21f commit 176b504
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ configure
.libs/
Makefile.in
aclocal.m4
autogen.sh
autom4te.cache/
config.log
config.status
Expand Down
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ tests_LDFLAGS = -static
TESTS = tests
endif

EXTRA_DIST = nasm_lt.sh
EXTRA_DIST = autogen.sh nasm_lt.sh

#x86_64 only
if USE_ASM
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ Build steps

libsecp256k1 is built using autotools:

$ aclocal
$ autoreconf --install
$ automake
$ ./autogen.sh # not necessary when building from release tarballs
$ ./configure
$ make
$ sudo make install # optional
2 changes: 2 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
autoreconf -if

0 comments on commit 176b504

Please sign in to comment.