Skip to content

Commit

Permalink
Move configure-app before fix-permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Nov 23, 2018
1 parent 5ed793c commit 5b14033
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5b14033

Please sign in to comment.