mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 15:10:25 +00:00
Update .drone.yml
This commit is contained in:
parent
8745b85c34
commit
13d8da81d2
1 changed files with 20 additions and 12 deletions
32
.drone.yml
32
.drone.yml
|
@ -11,11 +11,25 @@ steps:
|
|||
- 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
|
||||
|
||||
- ls -la
|
||||
- mkdir /phyre-panel
|
||||
- cp installers/ubuntu-22.04/install-partial/install_base.sh /phyre-panel/install_base.sh
|
||||
|
||||
- cp installers/${{ matrix.os }}/install-partial/install_base.sh /phyre-panel/install_base.sh
|
||||
- chmod +x /phyre-panel/install_base.sh
|
||||
- /phyre-panel/install_base.sh
|
||||
|
||||
- cp installers/${{ matrix.os }}/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/
|
||||
- ls -la
|
||||
|
||||
- wget https://getcomposer.org/download/latest-stable/composer.phar
|
||||
- COMPOSER_ALLOW_SUPERUSER=1 phyre-php composer.phar install
|
||||
|
||||
- /phyre-panel/install_web.sh
|
||||
|
||||
- apt-get install autoconf build-essential -y
|
||||
- mkdir -p /usr/local/phyre/php-xdebug
|
||||
- cd /usr/local/phyre/php-xdebug
|
||||
|
@ -25,25 +39,19 @@ steps:
|
|||
- /usr/local/phyre/php/bin/phpize
|
||||
- ./configure --enable-xdebug --with-php-config=/usr/local/phyre/php/bin/php-config
|
||||
- make
|
||||
|
||||
- mkdir -p /usr/local/phyre/php/zend-xdebug
|
||||
- cp modules/xdebug.so /usr/local/phyre/php/zend-xdebug/xdebug.so
|
||||
|
||||
- chmod 777 /usr/local/phyre/php/zend-xdebug/xdebug.so
|
||||
|
||||
- cp -r web /usr/local/phyre/web/
|
||||
|
||||
- cp /usr/local/phyre/web/tests/xdebug-php-ini.txt /usr/local/phyre/php/bin/php.ini
|
||||
|
||||
- chmod 777 /usr/local/phyre/php/bin/php.ini
|
||||
- phyre-php -v
|
||||
-
|
||||
|
||||
- cd /usr/local/phyre/web/
|
||||
- sudo chmod -R 777 vendor
|
||||
- wget https://getcomposer.org/download/latest-stable/composer.phar
|
||||
- COMPOSER_ALLOW_SUPERUSER=1 phyre-php composer.phar install
|
||||
|
||||
- cp installers/ubuntu-22.04/install-partial/install_web.sh /phyre-panel/install_web.sh
|
||||
- chmod +x /phyre-panel/install_web.sh
|
||||
- /phyre-panel/install_web.sh
|
||||
|
||||
- chmod -R 777 vendor
|
||||
- apt install composer -y
|
||||
- composer test:coverage
|
||||
|
||||
|
|
Loading…
Reference in a new issue