From 2203eda9f520a3af059194ac8e8715844331625c Mon Sep 17 00:00:00 2001
From: Roeland Jago Douma <roeland@famdouma.nl>
Date: Wed, 1 May 2019 13:12:12 +0200
Subject: [PATCH] Add mariadb 10.1 CI job

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
---
 .drone.yml | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/.drone.yml b/.drone.yml
index 8be64bf5d81..e7476467096 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
+
 
 
 ---
-- 
GitLab