language: rust dist: trusty addons: apt: packages: - libssl-dev - libfuse-dev install: - 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 rust: - stable - beta - nightly matrix: allow_failures: - rust: nightly script: - cargo clean - cargo build - cargo test after_success: | if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then cargo install cargo-tarpaulin cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID fi