diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 83c4d831..3d4aa4b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,21 +18,30 @@ matrix: - language: rust rust: 1.27.2 cache: - cargo: true + directories: + - /home/travis/.cargo + before_cache: + - rm -rf /home/travis/.cargo/registry script: - cargo build --all --all-features -j 1 || exit 1 - cargo test --all --all-features -j 1 || exit 1 - language: rust rust: 1.28.0 cache: - cargo: true + directories: + - /home/travis/.cargo + before_cache: + - rm -rf /home/travis/.cargo/registry script: - cargo build --all --all-features -j 1 || exit 1 - cargo test --all --all-features -j 1 || exit 1 - language: rust rust: stable cache: - cargo: true + directories: + - /home/travis/.cargo + before_cache: + - rm -rf /home/travis/.cargo/registry script: - cargo build --all --all-features -j 1 || exit 1 - cargo test --all --all-features -j 1 || exit 1 |