diplonat/.drone.yml

24 lines
487 B
YAML

---
kind: pipeline
name: default
workspace:
base: /drone/diplonat
steps:
- name: code style
image: rust:1.47
commands:
- rustup toolchain install nightly-x86_64-unknown-linux-gnu
- rustup component add rustfmt --toolchain nightly
- cargo +nightly fmt --all -- --check
# - name: code quality
# image: rust:1.47
# commands:
# - cargo clippy -- --deny warnings
- name: test
image: rust:1.47
commands:
- cargo build --verbose --all
- cargo test --verbose --all