aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorQuentin <quentin@dufour.io>2021-09-17 10:06:51 +0200
committerQuentin <quentin@dufour.io>2021-09-17 10:06:51 +0200
commit2bbc9109991f8bb79a09a965a1d2779e1749b25b (patch)
tree57dcb5b115b854d651ac6f952466d4109bac2d45 /.drone.yml
parentfa25c54e47decf9f323ba0c614f4d9de106626d5 (diff)
parentbf226d077ef2bea0567a7b36b4d25ce2d0b5191c (diff)
downloaddiplonat-2bbc9109991f8bb79a09a965a1d2779e1749b25b.tar.gz
diplonat-2bbc9109991f8bb79a09a965a1d2779e1749b25b.zip
Merge pull request 'added rustfmt, a guide about this, and a CI job to enforce code quality' (#10) from adrien/diplonat:meta/formating into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/diplonat/pulls/10
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