2014-08-28 17:09:51 +00:00
|
|
|
language: rust
|
2015-09-20 17:22:39 +00:00
|
|
|
rust:
|
|
|
|
- stable
|
|
|
|
- beta
|
|
|
|
- nightly
|
2018-03-21 18:50:17 +00:00
|
|
|
- 1.14.0
|
2014-07-18 14:33:44 +00:00
|
|
|
|
2018-03-20 16:28:18 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get -qq update
|
|
|
|
- sudo apt-get install -y binutils-dev libunwind8-dev
|
|
|
|
|
2014-07-18 14:33:44 +00:00
|
|
|
install:
|
2015-05-20 18:14:21 +00:00
|
|
|
- git clone https://github.com/bitcoin/secp256k1.git
|
2014-08-12 05:05:16 +00:00
|
|
|
- cd secp256k1
|
2014-08-14 14:41:52 +00:00
|
|
|
- ./autogen.sh && ./configure && make && sudo make install
|
2014-08-18 01:39:53 +00:00
|
|
|
- sudo ldconfig /usr/local/lib
|
2018-03-20 16:28:18 +00:00
|
|
|
- cd ..
|
2014-07-18 14:33:44 +00:00
|
|
|
|
2018-03-20 16:28:18 +00:00
|
|
|
script:
|
|
|
|
- cargo build --verbose
|
|
|
|
- cargo test --verbose
|
2018-04-02 19:38:43 +00:00
|
|
|
- cargo build --verbose --features=bitcoinconsensus
|
|
|
|
- cargo test --verbose --features=bitcoinconsensus
|
2018-03-20 16:28:18 +00:00
|
|
|
- if [ "$(rustup show | grep default | grep stable)" != "" ]; then cd fuzz && cargo test --verbose && ./travis-fuzz.sh; fi
|