Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Bump for gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
DerKnerd committed Jul 30, 2023
1 parent e469dfe commit 4d28a2a
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 60 deletions.
39 changes: 39 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
.install-dependencies:
before_script:
- mkdir -p /usr/share/man/man1
- apt update
- apt install -y git wget libzip-dev sqlite3 libsqlite3-dev
- docker-php-ext-install zip
- docker-php-ext-install pdo pdo_sqlite
- pecl install pcov
- docker-php-ext-enable pcov
- php --version
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
- php composer-setup.php
- php -r "unlink('composer-setup.php');"
- php composer.phar install

phpstan:
extends:
- .install-dependencies
image: quay.imanuel.dev/dockerhub/library---php:8.1-cli
stage: test
services:
- docker:dind
script:
- ./vendor/bin/phpstan --no-progress analyze ./src ./tests

phpunit:
extends:
- .install-dependencies
image: quay.imanuel.dev/dockerhub/library---php:8.1-cli
stage: test
script:
- ./vendor/bin/phpunit --log-junit report.xml --configuration ./phpunit.xml
artifacts:
when: always
paths:
- report.xml
reports:
junit:
- report.xml
60 changes: 0 additions & 60 deletions Jenkinsfile

This file was deleted.

0 comments on commit 4d28a2a

Please sign in to comment.