mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
Update .drone.yml
This commit is contained in:
parent
3f2fe56235
commit
a210516740
1 changed files with 6 additions and 12 deletions
16
.drone.yml
16
.drone.yml
|
@ -7,6 +7,7 @@ steps:
|
|||
environment:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
commands:
|
||||
- MAIN_REPO_DIR=$(pwd)
|
||||
- apt-get update
|
||||
- apt-get install -y libicu-dev sudo cron apt-utils -yqq daemonize dbus-user-session fontconfig rsync
|
||||
- daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target
|
||||
|
@ -54,18 +55,11 @@ steps:
|
|||
- chmod -R 777 vendor
|
||||
- apt install composer -y
|
||||
- composer test:coverage
|
||||
- cd $MAIN_REPO_DIR
|
||||
- apt install -y pip
|
||||
- pip install codecov-cli
|
||||
- codecovcli upload-process --token=$CODECOV_TOKEN --file=/usr/local/phyre/web/clover.xml --flags=unit
|
||||
|
||||
- name: codecov
|
||||
image: bobicloudvision/drone-codecov
|
||||
environment:
|
||||
CODECOV_TOKEN:
|
||||
from_secret: CODECOV_TOKEN
|
||||
settings:
|
||||
token: $CODECOV_TOKEN
|
||||
files:
|
||||
- /usr/local/phyre/web/clover.xml
|
||||
flags:
|
||||
- unit
|
||||
---
|
||||
kind: pipeline
|
||||
name: Ubuntu 22.04
|
||||
|
|
Loading…
Reference in a new issue