2014-08-27 17:19:10 +00:00
|
|
|
language: rust
|
2014-08-18 01:55:07 +00:00
|
|
|
|
2015-07-28 17:38:01 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- rust: stable
|
|
|
|
- rust: beta
|
|
|
|
- rust: nightly
|
|
|
|
|
2014-08-18 01:55:07 +00:00
|
|
|
install:
|
2015-04-06 05:13:38 +00:00
|
|
|
- git clone https://github.com/bitcoin/secp256k1.git
|
2014-08-18 01:55:07 +00:00
|
|
|
- cd secp256k1
|
2015-09-18 20:22:48 +00:00
|
|
|
- ./autogen.sh && ./configure --enable-module-ecdh --enable-module-recovery && make && sudo make install
|
2014-08-18 01:55:07 +00:00
|
|
|
- sudo ldconfig /usr/local/lib
|
2015-07-28 17:38:01 +00:00
|
|
|
- cd ..
|
|
|
|
- |
|
|
|
|
pip install 'travis-cargo<0.2' --user &&
|
|
|
|
export PATH=$HOME/.local/bin:$PATH
|
|
|
|
|
|
|
|
script:
|
|
|
|
- |
|
|
|
|
travis-cargo build &&
|
|
|
|
travis-cargo test &&
|
|
|
|
travis-cargo bench &&
|
|
|
|
travis-cargo --only stable doc
|
2014-08-18 01:55:07 +00:00
|
|
|
|