aboutsummaryrefslogblamecommitdiff
path: root/.drone.yml
blob: f431761c32f82e9c7074b8a231568d75cb1d86b5 (plain) (tree)
1
2
3
4
5
6
7
8
9








                       
                  
           
                                                             

                                                    



                                     




                               
 
---
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