Attempt to add code quality stuff back to Jenkins
Gitea - aviat/banker/pipeline/head There was a failure building this commit Details

This commit is contained in:
Timothy Warren 2023-03-16 14:25:46 -04:00
parent 5719b42308
commit f67e4c41e4
4 changed files with 34 additions and 18 deletions

5
Jenkinsfile vendored
View File

@ -6,6 +6,7 @@ pipeline {
sh 'curl -sS https://getcomposer.org/installer | php'
sh 'rm -rf ./vendor'
sh 'rm -f composer.lock'
sh 'phive install'
sh 'php composer.phar install --ignore-platform-reqs'
}
}
@ -51,7 +52,7 @@ pipeline {
}
}
}
/* stage('Code Cleanliness') {
stage('Code Cleanliness') {
agent any
steps {
sh 'touch build/logs/phpstan.log'
@ -61,7 +62,7 @@ pipeline {
tools: [phpStan(reportEncoding: 'UTF-8', pattern: 'build/logs/phpstan.log')]
)
}
} */
}
}
post {
success {

View File

@ -14,4 +14,5 @@ apt-get update && apt-get install -y \
docker-php-ext-install zip
pecl install apcu
pecl install memcached
docker-php-ext-enable apcu memcached
pecl install pcov
docker-php-ext-enable apcu memcached pcov

View File

@ -9,6 +9,6 @@
* @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2016 - 2023 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @version 4.1.0
* @version 4.1.1
* @link https://git.timshomepage.net/timw4mail/banker
*/

View File

@ -1,15 +1,29 @@
<?xml version="1.0" encoding="UTF-8" ?>
<phpdoc>
<parser>
<target>build/phpdoc</target>
</parser>
<transformer>
<target>phpdoc</target>
</transformer>
<transformations>
<template name="zend" />
</transformations>
<files>
<directory>src</directory>
</files>
</phpdoc>
<phpdocumentor
configVersion="3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://www.phpdoc.org"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/phpDocumentor/phpDocumentor/master/data/xsd/phpdoc.xsd"
>
<paths>
<output>docs</output>
<cache>build/cache</cache>
</paths>
<version number="4.0.0">
<api>
<source dsn=".">
<path>src</path>
</source>
<markers>
<marker>TODO</marker>
<marker>FIXME</marker>
</markers>
<default-package-name>Banker</default-package-name>
<visibility>public</visibility>
<include-source>true</include-source>
</api>
</version>
<!-- <template name="clean" /> -->
<setting name="graphs.enabled" value="true"/>
<setting name="guides.enabled" value="true"/>
</phpdocumentor>