forked from multiformats/rust-multihash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (36 loc) · 1.58 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
sudo: false
language: rust
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- binutils-dev
rust:
- beta
- stable
install:
- wget https://github.com/jedisct1/libsodium/releases/download/1.0.6/libsodium-1.0.6.tar.gz
- tar xvfz libsodium-1.0.6.tar.gz
- cd libsodium-1.0.6 && ./configure --prefix=$HOME/installed_libsodium && make &&
make install && cd ..
- export PKG_CONFIG_PATH=$HOME/installed_libsodium/lib/pkgconfig:$PKG_CONFIG_PATH
- export LD_LIBRARY_PATH=$HOME/installed_libsodium/lib:$LD_LIBRARY_PATH
before_script:
- |
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
after_success:
- travis-cargo --only stable doc-upload
- travis-cargo coveralls --no-sudo --verify
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=nightly
- secure: GUc+UHxYyfXimut0P0YqwxGiXsGt6GD8SKHQg/+7DeTZpc82KOxzXrBX/fNDK4vXlwPSNxf+V2lvSAbLUljWD91WUCnZMtNyPLLqpfphjBnTbILJNJbf0l6PMcMyhIzbYQO1L9uEn8rnn8d71oqQOZJ57+I2cTArlapBrMix0pl2uhy71Nldx7K0IHWLEbjLF3BycqIKlbGSBjcmF9oTMGq86XEaY+iZ98Itjxmnuw4MAv/tk03YvHcVD5nyhxpgW+qfwkPKKDMwRS7SVgQroOuSYVX0JOBhq+gJ4DOpwwXb+2ynCalmAGJI0n38tdx3oezwEaKEa5rHN5BdF7gpNgq4s3Z/m4f38P+38BmIBzMGPS5cI1Qv3qk/8wHUGSoUurEgS1x84THUwjn3egYJeltQnJDviVPOGffDKgqWh2btTqscT+lHQj3xuo7jQYqwDu+nP0dCygZYXwQ4xfXM9Esv9YCqY8Bny6wdnp18eU9QRlVGb7kTHPTB35gPHhX/HGBYT4tAYNnL7DG+7tM6Vc27qKGVAS4KORY90OT4D5RnWRdZFRO3jhSgB1VE7ZdvD2CxSA4KxjlzYyDoTlFfjkml5fJWyppmvdt2fCvqJ9uWAQ7Nz4G54o5Myn3vdT+PmOJ7BqRaoCIu4Cdb9LVNhHys/cianflzCJ4zdwMY8Fc=