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

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

View File

@ -14,4 +14,5 @@ apt-get update && apt-get install -y \
docker-php-ext-install zip docker-php-ext-install zip
pecl install apcu pecl install apcu
pecl install memcached 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> * @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2016 - 2023 Timothy J. Warren * @copyright 2016 - 2023 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License * @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 * @link https://git.timshomepage.net/timw4mail/banker
*/ */

View File

@ -1,15 +1,29 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<phpdoc> <phpdocumentor
<parser> configVersion="3"
<target>build/phpdoc</target> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
</parser> xmlns="https://www.phpdoc.org"
<transformer> xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/phpDocumentor/phpDocumentor/master/data/xsd/phpdoc.xsd"
<target>phpdoc</target> >
</transformer> <paths>
<transformations> <output>docs</output>
<template name="zend" /> <cache>build/cache</cache>
</transformations> </paths>
<files> <version number="4.0.0">
<directory>src</directory> <api>
</files> <source dsn=".">
</phpdoc> <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>