PhyrePanel-mirror/.drone.yml

20 lines
578 B
YAML
Raw Normal View History

2024-05-04 00:53:37 +00:00
---
kind: pipeline
2024-05-14 16:18:54 +00:00
name: Docker - Quick Test
2024-05-04 00:53:37 +00:00
steps:
2024-05-11 09:19:56 +00:00
- name: run
2024-05-14 16:18:54 +00:00
image: bobicloudvision/phyre-panel:latest
2024-05-14 16:20:32 +00:00
environment:
DEBIAN_FRONTEND: noninteractive
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
commands:
- MAIN_REPO_DIR=$(pwd)
2024-05-14 16:27:01 +00:00
- apt-get install -y rsync
2024-05-14 16:26:23 +00:00
- rsync $MAIN_REPO_DIR/web/ /usr/local/phyre/web/ -r
- cd /usr/local/phyre/web/
2024-05-14 16:20:32 +00:00
- ls -la
2024-05-14 16:31:46 +00:00
- wget https://getcomposer.org/download/latest-stable/composer.phar
- COMPOSER_ALLOW_SUPERUSER=1 phyre-php composer.phar install
2024-05-14 16:30:13 +00:00
- phyre-php artisan test