16 lines
408 B
YAML
16 lines
408 B
YAML
|
|
before_install:
|
|
- sudo add-apt-repository --yes ppa:hansjorg/rust
|
|
- sudo add-apt-repository --yes ppa:cmrx64/cargo
|
|
- sudo apt-get update -qq
|
|
install:
|
|
- sudo apt-get install -qq rust-nightly cargo
|
|
- git clone https://github.com/sipa/secp256k1.git
|
|
- cd secp256k1
|
|
- ./autogen.sh && ./configure && make && sudo make install
|
|
- sudo ldconfig /usr/local/lib
|
|
script:
|
|
- cargo build
|
|
- cargo test
|
|
|