mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-29 14:59:27 -05:00
commit
5a8aa7e474
3 changed files with 41 additions and 8 deletions
20
.travis.yml
20
.travis.yml
|
|
@ -8,15 +8,23 @@ php:
|
|||
- '7.1'
|
||||
- nightly
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- vendor
|
||||
|
||||
env:
|
||||
- ICINGAWEB_VERSION=2.4.1 PHPCS_VERSION=2.9.1
|
||||
|
||||
before_script:
|
||||
- test -d vendor || mkdir vendor
|
||||
# TODO: Re-enable after dropping 5.3 support:
|
||||
# - curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
|
||||
- curl -OL https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.1/phpcs.phar
|
||||
- wget https://github.com/Icinga/icingaweb2/archive/v2.4.0.tar.gz
|
||||
- tar xfz v2.4.0.tar.gz
|
||||
- ln -s icingaweb2-2.4.0/library/Icinga
|
||||
- ln -s icingaweb2-2.4.0/library/vendor/Zend
|
||||
- test -e vendor/phpcs-${PHPCS_VERSION}.phar || wget -O vendor/phpcs-${PHPCS_VERSION}.phar https://github.com/squizlabs/PHP_CodeSniffer/releases/download/${PHPCS_VERSION}/phpcs.phar
|
||||
- test -e vendor/v${ICINGAWEB_VERSION}.tar.gz || (cd vendor/ && wget https://github.com/Icinga/icingaweb2/archive/v${ICINGAWEB_VERSION}.tar.gz)
|
||||
- test -d vendor/icingaweb2-${ICINGAWEB_VERSION} || (cd vendor && tar xfz v${ICINGAWEB_VERSION}.tar.gz)
|
||||
- ln -s vendor/icingaweb2-${ICINGAWEB_VERSION}/library/Icinga
|
||||
- ln -s vendor/icingaweb2-${ICINGAWEB_VERSION}/library/vendor/Zend
|
||||
|
||||
script:
|
||||
- php phpcs.phar --report-width=auto --report-full --report-gitblame --report-summary -p --standard=PSR2 --extensions=php --encoding=utf-8 -w -s library/Businessprocess/ application/ configuration.php run.php test
|
||||
- php vendor/phpcs-${PHPCS_VERSION}.phar
|
||||
- phpunit --testdox || phpunit --verbose
|
||||
|
|
|
|||
|
|
@ -1,6 +1,11 @@
|
|||
[](https://travis-ci.org/Icinga/icingaweb2-module-businessprocess)
|
||||
[](https://github.com/Icinga/icingaweb2-module-businessprocess)
|
||||
|
||||
Business Processes - Icinga Web 2 module
|
||||
========================================
|
||||
|
||||

|
||||
|
||||
If you want to visualize and monitor hierarchical business processes based on
|
||||
any or all objects monitored by Icinga, the Icinga Web 2 business process
|
||||
module is the way to go.
|
||||
|
|
@ -17,8 +22,6 @@ You're running a huge cloud, want to get rid of the monitoring noise triggered
|
|||
by your auto-scaling platform but still want to have detailed information just
|
||||
a couple of clicks away in case you need them? You will love this little module!
|
||||
|
||||
[](https://travis-ci.org/Icinga/icingaweb2-module-businessprocess)
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
|
|
|
|||
22
phpcs.xml
Normal file
22
phpcs.xml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0"?>
|
||||
<ruleset name="PHP_CodeSniffer">
|
||||
<description>Sniff our code a while</description>
|
||||
|
||||
<file>configuration.php</file>
|
||||
<file>run.php</file>
|
||||
<file>application/</file>
|
||||
<file>library/</file>
|
||||
<file>test/</file>
|
||||
|
||||
<exclude-pattern>vendor/*</exclude-pattern>
|
||||
|
||||
<arg value="wps"/>
|
||||
<arg name="colors"/>
|
||||
<arg name="report-width" value="auto"/>
|
||||
<arg name="report-full"/>
|
||||
<arg name="report-gitblame"/>
|
||||
<arg name="report-summary"/>
|
||||
<arg name="encoding" value="UTF-8"/>
|
||||
|
||||
<rule ref="PSR2"/>
|
||||
</ruleset>
|
||||
Loading…
Reference in a new issue