diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-05-08 09:08:12 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-05-08 09:08:12 +0200 |
commit | d1d417b05a69971c3bec9807df2d9097087dc71a (patch) | |
tree | 766c31d195320cb24fa93bdd74bfd5b50eb39283 /.drone.yml | |
parent | ab16f56a45df0b6e24f74fbe62a98e1462eb157c (diff) |
Fix server setup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -8,7 +8,7 @@ steps: CORE_BRANCH: stable15 DB: sqlite commands: - - bash ./tests/drone-server-setup.sh $APP_NAME $CORE_BRANCH ${DB} + - bash ./tests/drone-server-setup.sh $APP_NAME $CORE_BRANCH $DB - cd ../server - ./occ app:check-code $APP_NAME -c strong-comparison - ./occ app:check-code $APP_NAME -c deprecation @@ -52,17 +52,17 @@ trigger: kind: pipeline name: php7.1-sqlite steps: - - name: php7.1 - image: nextcloudci/php7.1:php7.1-16 - environment: - APP_NAME: social - CORE_BRANCH: stable15 - DB: sqlite - commands: - - bash ./tests/drone-server-setup.sh $APP_NAME $CORE_BRANCH ${DB} - - cd ../server/apps/$APP_NAME - - composer install - - phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml +- name: php7.1 + image: nextcloudci/php7.1:php7.1-16 + environment: + APP_NAME: social + CORE_BRANCH: stable15 + DB: sqlite + commands: + - bash ./tests/drone-server-setup.sh $APP_NAME $CORE_BRANCH $DB + - cd ../server/apps/$APP_NAME + - composer install + - phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml trigger: branch: - master @@ -80,7 +80,7 @@ steps: CORE_BRANCH: stable15 DB: mysql commands: - - bash ./tests/drone-server-setup.sh $APP_NAME $CORE_BRANCH ${DB} + - bash ./tests/drone-server-setup.sh $APP_NAME $CORE_BRANCH $DB - cd ../server/apps/$APP_NAME - composer install - phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml |