aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..34200b7
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,24 @@
+---
+kind: pipeline
+name: default
+
+workspace:
+ base: /drone/diplonat
+
+steps:
+- name: code style
+ image: rust:1.47
+ commands:
+ - rustup component add rustfmt
+ - cargo 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
+
+ \ No newline at end of file