-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build libsecp256k1 in travis, removed bundled lib
- Loading branch information
Showing
2 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.