diff --git a/.drone.yml b/.drone.yml
index 9a0e7b254849faf3055c8433947046cf34299519..896d385ca338d0777e334bb1064c626c1d044cb6 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -755,6 +755,10 @@ matrix:
       OBJECT_STORE: s3
     - TESTS: object-store
       OBJECT_STORE: swift
+      SWIFT-AUTH: v2.0
+    - TESTS: object-store
+      OBJECT_STORE: swift
+      SWIFT-AUTH: v3
     - TESTS: sqlite-php7.0-samba-native
     - TESTS: sqlite-php7.0-samba-non-native
     - TEST: memcache-memcached
diff --git a/tests/preseed-config.php b/tests/preseed-config.php
index 5fbdc56541721a541ba3470317041cace9fc0382..c92c92b43b8e345c7a0a6fa98b9f9424042d98e4 100644
--- a/tests/preseed-config.php
+++ b/tests/preseed-config.php
@@ -36,6 +36,7 @@ if (getenv('OBJECT_STORE') === 's3') {
 }
 if (getenv('OBJECT_STORE') === 'swift') {
 	$swiftHost = getenv('DRONE') === 'true' ? 'dockswift' : 'localhost';
+	$auth = getenv('SWIFT-AUTH') === '' ? '2.0' : getenv('SWIFT-AUTH');
 	$CONFIG['objectstore'] = [
 		'class' => 'OC\\Files\\ObjectStore\\Swift',
 		'arguments' => array(
@@ -45,7 +46,7 @@ if (getenv('OBJECT_STORE') === 'swift') {
 			'password' => 'swift',
 			'serviceName' => 'swift',
 			'region' => 'regionOne',
-			'url' => "http://$swiftHost:5000/v2.0",
+			'url' => "http://$swiftHost:5000/$auth",
 			'bucket' => 'nextcloud'
 		)
 	];