diff --git a/.drone.yml b/.drone.yml
index 8be64bf5d81d443e54e2c937f981dbc78f111ff4..e74764670964b4059059a9385be5f9aece39754a 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -430,6 +430,41 @@ trigger:
     - pull_request
     - push
 
+---
+kind: pipeline
+name: mariadb10.1-php7.1
+
+steps:
+- name: submodules
+  image: docker:git
+  commands:
+    - git submodule update --init
+- name: mariadb10.1-php7.1
+  image: nextcloudci/php7.1:php7.1-16
+  commands:
+    - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
+
+services:
+- name: cache
+  image: redis
+- name: mariadb
+  image: mariadb:10.1
+  environment:
+    MYSQL_ROOT_PASSWORD: owncloud
+    MYSQL_USER: oc_autotest
+    MYSQL_PASSWORD: owncloud
+    MYSQL_DATABASE: oc_autotest
+  tmpfs:
+    - /var/lib/mysql
+
+trigger:
+  branch:
+    - master
+    - stable*
+  event:
+    - pull_request
+    - push
+
 
 
 ---