dist: bionic language: rust sudo: required rust: - stable - beta - nightly # Cache cargo symbols for faster build cache: cargo addons: apt: packages: - libnotmuch-dev - notmuch - git before_script: - export PATH=$HOME/.cargo/bin:$PATH - cargo install cargo-update || echo "cargo-update already installed" - cargo install cargo-travis || echo "cargo-travis already installed" - cargo install-update -a # update outdated cached binaries script: - cargo build --no-default-features --verbose --all # clone notmuch to have mail corpora - git clone git://git.notmuchmail.org/git/notmuch /tmp/notmuch - cargo test --no-default-features --verbose --all