From f8f36dac0971a360e1804acfe1ad970edcc9e7f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 5 Sep 2018 14:54:41 +0200 Subject: [PATCH] Run composer install before on drone tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .drone.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.yml b/.drone.yml index 7d05716d9..b179c56ae 100644 --- a/.drone.yml +++ b/.drone.yml @@ -134,6 +134,7 @@ pipeline: - cd ../server/ - ./occ app:enable $APP_NAME - cd apps/$APP_NAME + - composer install - phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml - phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml when: @@ -153,6 +154,7 @@ pipeline: - php occ app:enable deck - cd apps/$APP_NAME # Run phpunit tests + - composer install - phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml - phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml when: @@ -171,6 +173,7 @@ pipeline: - cd ../server/ - php occ app:enable deck - cd apps/$APP_NAME + - composer install - phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml - phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml when: @@ -189,6 +192,7 @@ pipeline: - cd ../server/ - php occ app:enable deck - cd apps/$APP_NAME + - composer install - phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml - phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml when: