Merge branch 'optimize-travis'

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2018-09-27 16:43:33 +02:00
commit 8ab5f55074

View file

@ -18,21 +18,30 @@ matrix:
- language: rust - language: rust
rust: 1.27.2 rust: 1.27.2
cache: cache:
cargo: true directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
script: script:
- cargo build --all --all-features -j 1 || exit 1 - cargo build --all --all-features -j 1 || exit 1
- cargo test --all --all-features -j 1 || exit 1 - cargo test --all --all-features -j 1 || exit 1
- language: rust - language: rust
rust: 1.28.0 rust: 1.28.0
cache: cache:
cargo: true directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
script: script:
- cargo build --all --all-features -j 1 || exit 1 - cargo build --all --all-features -j 1 || exit 1
- cargo test --all --all-features -j 1 || exit 1 - cargo test --all --all-features -j 1 || exit 1
- language: rust - language: rust
rust: stable rust: stable
cache: cache:
cargo: true directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
script: script:
- cargo build --all --all-features -j 1 || exit 1 - cargo build --all --all-features -j 1 || exit 1
- cargo test --all --all-features -j 1 || exit 1 - cargo test --all --all-features -j 1 || exit 1