diff --git a/.travis.yml b/.travis.yml index 9963a55b..62e963c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/src/test/resources/libsecp256k1.so b/src/test/resources/libsecp256k1.so deleted file mode 100755 index de5c86f7..00000000 Binary files a/src/test/resources/libsecp256k1.so and /dev/null differ