Stop running "cargo check" in CI (#285)

* Stop running "cargo check" in CI

Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>

* Attempt to clear cargo cache

Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>

* Remove cache clearing step

Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>
This commit is contained in:
Kevin Lingerfelt 2018-02-06 15:57:22 -08:00 committed by GitHub
parent 95b91c5976
commit 447ee142c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View File

@ -20,12 +20,10 @@ jobs:
- stage: test
language: rust
rust: stable
cache:
cargo: true
cache: cargo
install:
- cargo fetch --locked
script:
- cargo check --frozen
- cargo test --frozen
- language: go

View File

@ -346,9 +346,17 @@ It supports two environment variables:
### Testing
To build the Rust code and run tests, run:
```bash
cargo test
```
To analyze the Rust code and report errors, without building object files or
running tests, run:
```bash
cargo check
cargo test
```
# Dependencies