mirror of
https://github.com/kevinpapst/kimai2.git
synced 2025-03-17 14:32:38 +00:00
46 lines
No EOL
1.3 KiB
YAML
46 lines
No EOL
1.3 KiB
YAML
build:
|
|
environment:
|
|
node: v8.11.2
|
|
php:
|
|
version: 7.2
|
|
ini:
|
|
date.timezone: "UTC"
|
|
nodes:
|
|
analysis:
|
|
tests:
|
|
override:
|
|
- js-scrutinizer-run
|
|
- php-scrutinizer-run
|
|
tests:
|
|
tests:
|
|
override:
|
|
-
|
|
command: 'vendor/bin/phpunit --coverage-clover=clover.xml tests/'
|
|
stop_on_failure: true
|
|
coverage:
|
|
file: 'clover.xml'
|
|
format: 'clover'
|
|
-
|
|
command: 'bin/console kimai:codestyle --checkstyle=checkstyle'
|
|
stop_on_failure: true
|
|
analysis:
|
|
file: 'checkstyle'
|
|
format: 'php-cs-checkstyle'
|
|
|
|
filter:
|
|
excluded_paths:
|
|
- '.github/'
|
|
- 'bin/'
|
|
- 'config/'
|
|
- 'public/'
|
|
- 'templates/'
|
|
- 'translations/'
|
|
- 'var/'
|
|
dependency_paths:
|
|
- 'node_modules/'
|
|
- 'vendor/'
|
|
|
|
build_failure_conditions:
|
|
- 'project.metric("scrutinizer.quality", < 9.30)'
|
|
- 'project.metric("scrutinizer.test_coverage", < 0.9)'
|
|
- 'project.metric_change("scrutinizer.test_coverage", < -0.01)' |