diplonat/.drone.yml

24 lines
442 B
YAML
Raw Normal View History

---
kind: pipeline
name: default
workspace:
base: /drone/diplonat
steps:
- name: code style
image: rustlang/rust:nightly-slim
commands:
- 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