PhyrePanel-mirror/.drone.yml
2024-05-03 02:03:21 +03:00

23 lines
848 B
YAML

kind: pipeline
steps:
- name: run unit tests
image: ubuntu:22.04
environment:
DEBIAN_FRONTEND: noninteractive
commands:
- apt-get update
- apt-get install -y libicu-dev sudo cron apt-utils
- mkdir /phyre-panel
- cp installers/ubuntu-22.04/install-partial/install_base.sh /phyre-panel/install_base.sh
- chmod +x /phyre-panel/install_base.sh
- /phyre-panel/install_base.sh
- cp installers/ubuntu-22.04/install-partial/install_web.sh /phyre-panel/install_web.sh
- chmod +x /phyre-panel/install_web.sh
- cp -r web /usr/local/phyre/web/
- cd /usr/local/phyre/web/
- wget https://getcomposer.org/download/latest-stable/composer.phar
- COMPOSER_ALLOW_SUPERUSER=1 phyre-php composer.phar install
- /phyre-panel/install_web.sh
- phyre-php artisan test