Skip to content

Commit

Permalink
Move integration tests to single containers
Browse files Browse the repository at this point in the history
This adds improved performance

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
  • Loading branch information
LukasReschke committed Sep 22, 2016
1 parent 538fcf3 commit d9c6779
Showing 1 changed file with 190 additions and 37 deletions.
227 changes: 190 additions & 37 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ pipeline:
when:
matrix:
TESTS: app-check-code
signed-off-check:
image: nextcloudci/php7.0:php7.0-2
commands:
- php ./build/signed-off-checker.php
when:
matrix:
TESTS: signed-off-check
syntax-php5.6:
image: nextcloudci/php5.6:php5.6-2
commands:
Expand Down Expand Up @@ -148,45 +141,204 @@ pipeline:
matrix:
DB: postgres
PHP: 5.6
integration:
integration-capabilities_features:
image: nextcloudci/php7.0:php7.0-2
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/php7.0:php7.0-2
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/php7.0:php7.0-2
commands:
- ./occ maintenance:install --admin-pass=admin
- cd build/integration
- ./run.sh
- ./run.sh features/auth.feature
when:
matrix:
TESTS: integration
TESTS: integration-auth
integration-carddav:
image: nextcloudci/php7.0:php7.0-2
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/php7.0:php7.0-2
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/php7.0:php7.0-2
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/php7.0:php7.0-2
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/php7.0:php7.0-2
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/php7.0:php7.0-2
commands:
- ./occ maintenance:install --admin-pass=admin
- cd build/integration
- ./run.sh features/external-storage.feature
when:
matrix:
TESTS: integration-external-storage
integration-provisioning-v1:
image: nextcloudci/php7.0:php7.0-2
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/php7.0:php7.0-2
commands:
- ./occ maintenance:install --admin-pass=admin
- cd build/integration
- ./run.sh features/tags.feature
when:
matrix:
TESTS: integration-tags
integration-caldav:
image: nextcloudci/php7.0:php7.0-2
commands:
- ./occ maintenance:install --admin-pass=admin
- cd build/integration
- ./run.sh features/caldav.feature
when:
matrix:
TESTS: integration-caldav
integration-comments:
image: nextcloudci/php7.0:php7.0-2
commands:
- ./occ maintenance:install --admin-pass=admin
- cd build/integration
- ./run.sh features/comments.feature
when:
matrix:
TESTS: integration-comments
integration-favorites:
image: nextcloudci/php7.0:php7.0-2
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/php7.0:php7.0-2
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/php7.0:php7.0-2
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/php7.0:php7.0-2
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: jsunit
- TESTS: check-autoloader
- TESTS: app-check-code
- TESTS: syntax-php5.6
- TESTS: syntax-php7.0
- TESTS: litmus-v1
- TESTS: litmus-v2
- TESTS: caldavtester
- TESTS: carddavtester
- DB: NODB
PHP: 5.6
- DB: NODB
PHP: 7.0
- DB: NODB
PHP: 7.1
- DB: sqlite
PHP: 5.6
- DB: sqlite
PHP: 7.0
- DB: sqlite
PHP: 7.1
- DB: mysql
PHP: 5.6
- DB: postgres
PHP: 5.6
- 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
# - TESTS: syntax-php5.6
# - TESTS: syntax-php7.0
# - TESTS: litmus-v1
# - TESTS: litmus-v2
# - TESTS: caldavtester
# - TESTS: carddavtester
# - DB: NODB
# PHP: 5.6
# - DB: NODB
# PHP: 7.0
# - DB: NODB
# PHP: 7.1
# - DB: sqlite
# PHP: 5.6
# - DB: sqlite
# PHP: 7.0
# - DB: sqlite
# PHP: 7.1
# - DB: mysql
# PHP: 5.6
# - DB: postgres
# PHP: 5.6

services:
cache:
Expand All @@ -209,3 +361,4 @@ services:
when:
matrix:
DB: mysql

0 comments on commit d9c6779

Please sign in to comment.