Skip to content

Commit

Permalink
build libsecp256k1 in travis, removed bundled lib
Browse files Browse the repository at this point in the history
  • Loading branch information
pm47 committed Mar 18, 2018
1 parent 566ef6a commit e2dcd4f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
language: scala
before_install:
- sudo apt-get install libgmp-dev
install:
# first let's build the libsecp256k1 jni lib
- cd secp256k1
- ./autogen.sh
- ./configure --enable-jni --enable-experimental --enable-module-ecdh
- make
- cd ..
# then we build the java/scala lib
- mvn install -DskipTests
script:
# test with bouncycastle
- mvn test
# test with libsecp256k1
- export LD_LIBRARY_PATH=secp256k1/.libs
- mvn test
- LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/src/test/resources mvn test
scala:
- 2.11.7
- 2.11.11
jdk:
- oraclejdk8
Binary file removed src/test/resources/libsecp256k1.so
Binary file not shown.

0 comments on commit e2dcd4f

Please sign in to comment.