aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml17
1 files changed, 8 insertions, 9 deletions
diff --git a/.drone.yml b/.drone.yml
index 34200b7..8c1663a 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -7,18 +7,17 @@ workspace:
steps:
- name: code style
- image: rust:1.47
+ image: rustlang/rust:nightly-slim
commands:
- - rustup component add rustfmt
- - cargo fmt --all -- --check
+ - 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
+- name: test
+ image: rust:1.47
+ commands:
+ - cargo build --verbose --all
+ - cargo test --verbose --all
- \ No newline at end of file