mirror of
https://github.com/friendica/friendica
synced 2024-11-19 19:03:41 +00:00
Fixing CodeCov
This commit is contained in:
parent
f1e268ee0a
commit
339624568d
1 changed files with 3 additions and 22 deletions
25
.drone.yml
25
.drone.yml
|
@ -84,17 +84,7 @@ steps:
|
||||||
- cp config/local-sample.config.php config/local.config.php
|
- cp config/local-sample.config.php config/local.config.php
|
||||||
- while ! mysqladmin ping -h$MYSQL_HOST -P$MYSQL_PORT --silent; do sleep 1; done
|
- while ! mysqladmin ping -h$MYSQL_HOST -P$MYSQL_PORT --silent; do sleep 1; done
|
||||||
- mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql
|
- mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql
|
||||||
- phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml
|
- phpunit --configuration tests/phpunit.xml
|
||||||
- name: Codecov
|
|
||||||
image: plugins/codecov
|
|
||||||
when:
|
|
||||||
repo:
|
|
||||||
- friendica/friendica
|
|
||||||
settings:
|
|
||||||
token:
|
|
||||||
from_secret: codecov-token
|
|
||||||
files:
|
|
||||||
- clover.xml
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: mariadb
|
- name: mariadb
|
||||||
|
@ -130,6 +120,7 @@ steps:
|
||||||
MEMCACHED_HOST: "memcached"
|
MEMCACHED_HOST: "memcached"
|
||||||
MEMCACHE_HOST: "memcached"
|
MEMCACHE_HOST: "memcached"
|
||||||
commands:
|
commands:
|
||||||
|
- phpenmod xdebug
|
||||||
- composer validate
|
- composer validate
|
||||||
- composer install --prefer-dist
|
- composer install --prefer-dist
|
||||||
- cp config/local-sample.config.php config/local.config.php
|
- cp config/local-sample.config.php config/local.config.php
|
||||||
|
@ -186,17 +177,7 @@ steps:
|
||||||
- cp config/local-sample.config.php config/local.config.php
|
- cp config/local-sample.config.php config/local.config.php
|
||||||
- while ! mysqladmin ping -h$MYSQL_HOST -P$MYSQL_PORT --silent; do sleep 1; done
|
- while ! mysqladmin ping -h$MYSQL_HOST -P$MYSQL_PORT --silent; do sleep 1; done
|
||||||
- mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql
|
- mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql
|
||||||
- phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml
|
- phpunit --configuration tests/phpunit.xml
|
||||||
- name: Codecov
|
|
||||||
image: plugins/codecov
|
|
||||||
when:
|
|
||||||
repo:
|
|
||||||
- friendica/friendica
|
|
||||||
settings:
|
|
||||||
token:
|
|
||||||
from_secret: codecov-token
|
|
||||||
files:
|
|
||||||
- clover.xml
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: mariadb
|
- name: mariadb
|
||||||
|
|
Loading…
Reference in a new issue