aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
blob: f431761c32f82e9c7074b8a231568d75cb1d86b5 (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
24
---
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