Compare commits

..

No commits in common. "31f5faf93a90b3ccc02ffead27b30b063d8a9583" and "debe9969ae33c2e42946b94d76ac83941170c5ff" have entirely different histories.

3 changed files with 20 additions and 9 deletions

View File

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

View File

@ -26,19 +26,16 @@ 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: tests - name: phpunit_tests
image: php:8.1.6 image: php:8.1.6
commands: commands:
- apt-get update - 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 install -y rsync libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev unzip - docker-php-ext-install pdo_mysql curl gd intl mbstring
- 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 -R /drone/nami/.docker/fonts /usr/local/src/fonts && /usr/local/src/fonts/compile.sh - cp .docker/fonts/* /usr/share/fonts/
- 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:
@ -64,13 +61,20 @@ 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:8.1.6 image: php:7.3
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,6 +208,14 @@ 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