diff --git a/.drone.yml b/.drone.yml index 44dc7ff9..796a2508 100644 --- a/.drone.yml +++ b/.drone.yml @@ -54,6 +54,18 @@ pipeline: matrix: NEED_INSTALL_APP: true + configure-app: + image: owncloudci/php:${PHP_VERSION} + pull: true + commands: + - cd /var/www/owncloud/ + - php occ config:app:set --value "clamav" files_antivirus av_host + - php occ config:app:set --value "daemon" files_antivirus av_mode + - php occ config:app:set --value "3310" files_antivirus av_port + when: + matrix: + TEST_SUITE: api-acceptance + fix-permissions: image: owncloudci/php:${PHP_VERSION} pull: true @@ -106,18 +118,6 @@ pipeline: matrix: TEST_SUITE: phpunit - configure-app: - image: owncloudci/php:${PHP_VERSION} - pull: true - commands: - - cd /var/www/owncloud/ - - php occ config:app:set --value "clamav" files_antivirus av_host - - php occ config:app:set --value "daemon" files_antivirus av_mode - - php occ config:app:set --value "3310" files_antivirus av_port - when: - matrix: - TEST_SUITE: api-acceptance - api-acceptance-tests: image: owncloudci/php:${PHP_VERSION} pull: true