aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDirk Van Haerenborgh <vhdirk@gmail.com>2019-11-14 19:22:38 +0100
committerDirk Van Haerenborgh <vhdirk@gmail.com>2019-11-14 19:22:38 +0100
commitcc6896cca0839f5d97c5daee8ffba824c3c0d229 (patch)
tree991e348c590f3da671a1acc9ebd4f57cd497f974 /.travis.yml
parent1e060f14736922bfbd065a2ac611c64b9e2f5104 (diff)
downloadmail-cc6896cca0839f5d97c5daee8ffba824c3c0d229.tar.gz
add more tests
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 5099a5d..26d147c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,11 +1,14 @@
dist: bionic
language: rust
-sudo: false
+sudo: required
rust:
- stable
- beta
- nightly
+# Cache cargo symbols for faster build
+cache: cargo
+
addons:
apt:
packages:
@@ -13,6 +16,12 @@ addons:
- 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