Compare commits

...

3 Commits

Author SHA1 Message Date
philipp lang 31f5faf93a update pipeline
continuous-integration/drone/push Build was killed Details
2023-07-19 11:01:12 +02:00
philipp lang 7d142aa864 fix errors 2023-07-19 11:00:57 +02:00
philipp lang 6734fdf3ca ignore public/build dir 2023-07-19 10:52:52 +02:00
3 changed files with 9 additions and 20 deletions

View File

@ -1,3 +1,4 @@
node_modules node_modules
data data
vendor vendor
public/build

View File

@ -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

View File

@ -208,14 +208,6 @@ parameters:
- -
message: "#^Call to an undefined method Phake\\\\Proxies\\\\VerifierProxy.*#" message: "#^Call to an undefined method Phake\\\\Proxies\\\\VerifierProxy.*#"
-
message: "#^Parameter \\#1 \\$mock of static method Phake\\:\\:verify\\(\\) expects Phake\\\\IMock, App\\\\Mailman\\\\Support\\\\MailmanService given\\.$#"
count: 4
path: tests/Feature/Mailman/SettingTest.php
-
message: "#verifyNoInteraction\\(\\) expects Phake\\\\IMock#"
- -
message: "#^Method Tests\\\\Feature\\\\Member\\\\StoreTest\\:\\:attributes\\(\\) has parameter \\$overwrites with no value type specified in iterable type array\\.$#" message: "#^Method Tests\\\\Feature\\\\Member\\\\StoreTest\\:\\:attributes\\(\\) has parameter \\$overwrites with no value type specified in iterable type array\\.$#"
count: 1 count: 1