aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
blob: 8c1663a28a6fbc496e6fe511b01d9ebbc93c2db5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
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