Currently, some tests are not run in CI because they require libsecp256k1. In addition, it can be
unclear to consumers of the library how they need to build libsecp256k1 so that it can be used with
bitcoin-ruby.
This change adds a new rake task build_libsecp256k1 that will download and build the library from
the GitHub repository. This ability is then leveraged
to warn users when they run tests without the library that they are skipping tests. In addition, the
SECP256K1_LIB_PATH environment variable is now automatically populated if the library has been
built.
The TravisCI build is then updated so that it builds this dependencies and runs the previously
skipped tests.
Currently, some tests are not run in CI because they require libsecp256k1. In addition, it can be unclear to consumers of the library how they need to build libsecp256k1 so that it can be used with bitcoin-ruby.
This change adds a new rake task
build_libsecp256k1
that will download and build the library from the GitHub repository. This ability is then leveraged to warn users when they run tests without the library that they are skipping tests. In addition, theSECP256K1_LIB_PATH
environment variable is now automatically populated if the library has been built.The TravisCI build is then updated so that it builds this dependencies and runs the previously skipped tests.