summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-05-08 09:08:12 +0200
committerJulius Härtl <jus@bitgrid.net>2019-05-08 09:08:12 +0200
commitd1d417b05a69971c3bec9807df2d9097087dc71a (patch)
tree766c31d195320cb24fa93bdd74bfd5b50eb39283 /.drone.yml
parentab16f56a45df0b6e24f74fbe62a98e1462eb157c (diff)
Fix server setup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml26
1 files changed, 13 insertions, 13 deletions
diff --git a/.drone.yml b/.drone.yml
index 40d22894..6dd856c3 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -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