diff --git a/.drone.yml b/.drone.yml
index 7dd2784..c2f26d9 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -5,9 +5,10 @@ type: docker
 
 steps:
   - name: test
-    image: rust:1.31
+    image: rust:1.46
     pull: true
     commands:
+    - rustup component add rustfmt
     - cargo build
     - cargo test
     - cargo fmt -- --check