aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-09-22 16:21:44 +0200
committerGitHub <noreply@github.com>2016-09-22 16:21:44 +0200
commit5ba0cdcdd53b5a1db4a160dbc4f8a26799471723 (patch)
treef631f17222702f53092e89345311b8130ff6b872
parenta0e62f0880bc81d3fa6e2b89acd60a01791cc381 (diff)
parente501fefa90799910c2b8f5e6e03d9f706f5d96ce (diff)
downloadnextcloud-server-5ba0cdcdd53b5a1db4a160dbc4f8a26799471723.tar.gz
nextcloud-server-5ba0cdcdd53b5a1db4a160dbc4f8a26799471723.zip
Merge pull request #1487 from nextcloud/move-integration-tests-to-single-containers
Move integration tests to single execution containers in .drone.yml
-rw-r--r--.drone.yml171
1 files changed, 166 insertions, 5 deletions
diff --git a/.drone.yml b/.drone.yml
index 51e835cc34d..3e50be209b6 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -148,20 +148,180 @@ pipeline:
matrix:
DB: postgres
PHP: 5.6
- integration:
- image: nextcloudci/php7.0:php7.0-2
+ integration-capabilities_features:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh capabilities_features/capabilities.feature
+ when:
+ matrix:
+ TESTS: integration-capabilities_features
+ integration-federation_features:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh federation_features/federated.feature
+ when:
+ matrix:
+ TESTS: integration-federation_features
+ integration-auth:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh features/auth.feature
+ when:
+ matrix:
+ TESTS: integration-auth
+ integration-carddav:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh features/carddav.feature
+ when:
+ matrix:
+ TESTS: integration-carddav
+ integration-dav-v2:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh features/dav-v2.feature
+ when:
+ matrix:
+ TESTS: integration-dav-v2
+ integration-ocs-v1:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh features/ocs-v1.feature
+ when:
+ matrix:
+ TESTS: integration-ocs-v1
+ integration-sharing-v1:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh features/sharing-v1.feature
+ when:
+ matrix:
+ TESTS: integration-sharing-v1
+ integration-checksums-v1:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh features/checksums.feature
+ when:
+ matrix:
+ TESTS: integration-checksums
+ integration-external-storage:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
commands:
- ./occ maintenance:install --admin-pass=admin
- cd build/integration
- - ./run.sh
+ - ./run.sh features/external-storage.feature
when:
matrix:
- TESTS: integration
+ TESTS: integration-external-storage
+ integration-provisioning-v1:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh features/provisioning-v1.feature
+ when:
+ matrix:
+ TESTS: integration-provisioning-v1
+ integration-tags:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh features/tags.feature
+ when:
+ matrix:
+ TESTS: integration-tags
+ integration-caldav:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh features/caldav.feature
+ when:
+ matrix:
+ TESTS: integration-caldav
+ integration-comments:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh features/comments.feature
+ when:
+ matrix:
+ TESTS: integration-comments
+ integration-favorites:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh features/favorites.feature
+ when:
+ matrix:
+ TESTS: integration-favorites
+ integration-provisioning-v2:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh features/provisioning-v2.feature
+ when:
+ matrix:
+ TESTS: integration-provisioning-v2
+ integration-webdav-related:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh features/webdav-related.feature
+ when:
+ matrix:
+ TESTS: integration-webdav-related
+ integration-sharees-features:
+ image: nextcloudci/integration-php7.0:integration-php7.0-1
+ commands:
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh sharees_features/sharees.feature
+ when:
+ matrix:
+ TESTS: integration-sharees-features
matrix:
include:
- TESTS: signed-off-check
- - TESTS: integration
+ - TESTS: integration-capabilities_features
+ - TESTS: integration-federation_features
+ - TESTS: integration-auth
+ - TESTS: integration-carddav
+ - TESTS: integration-dav-v2
+ - TESTS: integration-ocs-v1
+ - TESTS: integration-sharing-v1
+ - TESTS: integration-checksums
+ - TESTS: integration-external-storage
+ - TESTS: integration-provisioning-v1
+ - TESTS: integration-tags
+ - TESTS: integration-caldav
+ - TESTS: integration-comments
+ - TESTS: integration-favorites
+ - TESTS: integration-provisioning-v2
+ - TESTS: integration-webdav-related
+ - TESTS: integration-sharees-features
- TESTS: jsunit
- TESTS: check-autoloader
- TESTS: app-check-code
@@ -209,3 +369,4 @@ services:
when:
matrix:
DB: mysql
+