diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..dcc7d9f --- /dev/null +++ b/.drone.yml @@ -0,0 +1,16 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: cargo_check + image: rust + commands: + - wget -O /usr/bin/minio https://dl.min.io/server/minio/release/linux-amd64/minio + - wget -O /usr/bin/mc https://dl.min.io/client/mc/release/linux-amd64/mc + - chmod +x /usr/bin/minio /usr/bin/mc + - rustup component add clippy + - cargo clippy -- -D warnings + - cargo test +