zvault/.travis.yml

37 lines
1.0 KiB
YAML
Raw Normal View History

2017-07-30 18:59:23 +00:00
language: rust
dist: trusty
addons:
2017-07-30 19:25:09 +00:00
apt:
packages:
- libssl-dev
2017-07-30 19:37:59 +00:00
- libfuse-dev
2017-07-30 19:12:28 +00:00
install:
2017-07-30 19:25:09 +00:00
- wget https://github.com/jedisct1/libsodium/releases/download/1.0.8/libsodium-1.0.8.tar.gz
- tar xvfz libsodium-1.0.8.tar.gz
- cd libsodium-1.0.8 && ./configure --prefix=$HOME/installed_libs && make && make install && cd ..
- git clone https://github.com/quixdb/squash libsquash && cd libsquash && git checkout 5ea579cae2324f9e814cb3d88aa589dff312e9e2 && ./autogen.sh --prefix=$HOME/installed_libs --disable-external && make && make install && cd ..
- export PKG_CONFIG_PATH=$HOME/installed_libs/lib/pkgconfig:$PKG_CONFIG_PATH
- export LD_LIBRARY_PATH=$HOME/installed_libs/lib:$LD_LIBRARY_PATH
cache:
- cargo
- ccache
2017-07-30 18:59:23 +00:00
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
2018-03-08 14:20:20 +00:00
- rust:
- beta
- stable
2017-07-30 18:59:23 +00:00
script:
- cargo clean
- cargo build
- cargo test
after_success: |
2017-07-30 20:09:40 +00:00
if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
2017-07-30 18:59:23 +00:00
cargo install cargo-tarpaulin
cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
fi