parent
7d142aa864
commit
31f5faf93a
20
.drone.yml
20
.drone.yml
|
@ -26,16 +26,19 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- npm ci && npm run img && npm run prod && rm -R node_modules
|
- npm ci && npm run img && npm run prod && rm -R node_modules
|
||||||
|
|
||||||
- name: phpunit_tests
|
- name: tests
|
||||||
image: php:8.1.6
|
image: php:8.1.6
|
||||||
commands:
|
commands:
|
||||||
- apt-get update && apt-get install -y libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev rsync texlive-base texlive-xetex texlive-lang-german texlive-fonts-extra
|
- apt-get update
|
||||||
- docker-php-ext-install pdo_mysql curl gd intl mbstring
|
- apt-get install -y rsync libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev unzip
|
||||||
|
- apt-get install -y --no-install-recommends texlive-base texlive-latex-base texlive-pictures texlive-latex-extra texlive-lang-german texlive-plain-generic texlive-fonts-recommended
|
||||||
|
- docker-php-ext-install pdo_mysql curl gd intl mbstring pcntl
|
||||||
- pecl install redis && docker-php-ext-enable redis
|
- pecl install redis && docker-php-ext-enable redis
|
||||||
- cp .docker/fonts/* /usr/share/fonts/
|
- cp -R /drone/nami/.docker/fonts /usr/local/src/fonts && /usr/local/src/fonts/compile.sh
|
||||||
- php artisan migrate
|
- php artisan migrate
|
||||||
- php artisan test
|
- php artisan test
|
||||||
- rm -f .env
|
- rm -f .env
|
||||||
|
- vendor/bin/phpstan analyse --memory-limit=2G
|
||||||
environment:
|
environment:
|
||||||
APP_NAME: Scoutrobot
|
APP_NAME: Scoutrobot
|
||||||
APP_KEY:
|
APP_KEY:
|
||||||
|
@ -61,20 +64,13 @@ steps:
|
||||||
PDFLATEX_BIN: /usr/bin/pdflatex
|
PDFLATEX_BIN: /usr/bin/pdflatex
|
||||||
XELATEX_BIN: /usr/bin/xelatex
|
XELATEX_BIN: /usr/bin/xelatex
|
||||||
|
|
||||||
- name: phpstan_tests
|
|
||||||
image: php:8.1.6
|
|
||||||
commands:
|
|
||||||
- apt-get update && apt-get install -y libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev rsync
|
|
||||||
- pecl install redis && docker-php-ext-enable redis
|
|
||||||
- vendor/bin/phpstan analyse --memory-limit=2G
|
|
||||||
|
|
||||||
- name: composer_no_dev
|
- name: composer_no_dev
|
||||||
image: composer:2.2.7
|
image: composer:2.2.7
|
||||||
commands:
|
commands:
|
||||||
- composer install --ignore-platform-reqs --no-dev
|
- composer install --ignore-platform-reqs --no-dev
|
||||||
|
|
||||||
- name: compress
|
- name: compress
|
||||||
image: php:7.3
|
image: php:8.1.6
|
||||||
commands:
|
commands:
|
||||||
- apt-get update -yqq
|
- apt-get update -yqq
|
||||||
- apt-get install -yqq zip tar
|
- apt-get install -yqq zip tar
|
||||||
|
|
Loading…
Reference in New Issue