update drone ci file

This commit is contained in:
Rohan Sircar 2021-04-28 15:50:18 +05:30
parent b87ddc393b
commit c12fb24404

View File

@ -1,9 +1,23 @@
---
kind: pipeline kind: pipeline
name: default name: default
steps: steps:
- name: check
image: guangie88/rustfmt-clippy:1.51.0-stable
commands:
- cargo check --workspace
- name: lint
image: guangie88/rustfmt-clippy:1.51.0-stable
commands:
- cargo fmt --all -- --check
- cargo clippy -- -D warnings
- name: test - name: test
image: rust:1.51.0 image: guangie88/rustfmt-clippy:1.51.0-stable
commands:
- cargo test --verbose --all
- name: package
image: guangie88/rustfmt-clippy:1.51.0-stable
depends_on: [check, test, lint]
commands: commands:
- cargo build --verbose --all - cargo build --verbose --all
- cargo test --verbose --all