Update .drone.yml

This commit is contained in:
Bozhidar 2024-05-03 01:05:24 +03:00
parent 1ba6b5e00d
commit 1b84ad1186

View file

@ -1,6 +1,20 @@
kind: pipeline
steps:
- name: test
- name: Phyre Panel - Install Base
image: ubuntu
commands:
- ls -la
- sudo mkdir /phyre-panel
- sudo cp installers/${{ matrix.os }}/install-partial/install_base.sh /phyre-panel/install_base.sh
- sudo chmod +x /phyre-panel/install_base.sh
- sudo /phyre-panel/install_base.sh
- sudo cp installers/${{ matrix.os }}/install-partial/install_web.sh /phyre-panel/install_web.sh
- sudo chmod +x /phyre-panel/install_web.sh
- name: Phyre Panel - Run Unit Test
commands:
- sudo cp -r web /usr/local/phyre/web/
- cd /usr/local/phyre/web/
- sudo wget https://getcomposer.org/download/latest-stable/composer.phar
- sudo COMPOSER_ALLOW_SUPERUSER=1 phyre-php composer.phar install
- sudo /phyre-panel/install_web.sh
- sudo phyre-php artisan test