Experiment with vanilla caching

This commit is contained in:
Roman Zeyde 2018-09-27 19:50:57 +03:00
parent 71347c1568
commit 19fa5355f2
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

View File

@ -1,23 +1,9 @@
language: rust
env: CARGO_INCREMENTAL=0
rust:
- stable
cache:
cargo: true
timeout: 450
cache: cargo
stages:
- lint
- test
jobs:
include:
- stage: test
script:
- cargo build
- cargo test
- stage: lint
before_script:
- rustup component add rustfmt-preview
script:
- cargo fmt --all -- --check
script:
- cargo check --all