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
1ba6b5e00d
commit
1b84ad1186
1 changed files with 15 additions and 1 deletions
16
.drone.yml
16
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue