Geoffrey-rs/.drone.yml

34 lines
711 B
YAML
Raw Normal View History

---
kind: pipeline
name: compliance
type: docker
trigger:
event:
- pull_request
steps:
- name: build
pull: always
image: rust:1.56.0
commands:
- rustup component add clippy
- cargo build --verbose
- cargo clippy --workspace --tests --all-targets --all-features
- cargo test --workspace --no-fail-fast
---
kind: pipeline
name: release
type: docker
trigger:
branch:
- master
event:
- push
steps:
- name: build
pull: always
image: rust:1.56.0
commands:
- rustup component add clippy
- cargo build --verbose --release
- cargo clippy --workspace --tests --all-targets --all-features
- cargo test --workspace --no-fail-fast