mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
- Removed tests/codeception/_data/dump.sql
- Changed phpci.yml to make php_parallel_lint a blocking test - Changed phpci.yml to configure the rules used by php mess detector - Changed phpci.yml added allowed_warnings: -1 to php_code_sniffer
This commit is contained in:
@@ -14,7 +14,6 @@ setup: # First!
|
||||
- "DROP DATABASE IF EXISTS fhcomplete;"
|
||||
- "CREATE DATABASE fhcomplete;"
|
||||
composer: # Run composer to install all the required 3rd party software
|
||||
action: "install"
|
||||
shell:
|
||||
# Install addons
|
||||
- "git clone --quiet https://github.com/FH-Complete/FHC-AddOn-Abrechnung.git %BUILD_PATH%/addons/abrechnung"
|
||||
@@ -85,14 +84,18 @@ setup: # First!
|
||||
- "ln -s %BUILD_PATH% ../fhcomplete"
|
||||
|
||||
test: # Run tests
|
||||
php_parallel_lint: # Lint
|
||||
allow_failures: true
|
||||
php_parallel_lint: # Lint cannot fail!
|
||||
php_mess_detector: # Mess detector
|
||||
rules:
|
||||
- "unusedcode"
|
||||
- "codesize"
|
||||
- "design"
|
||||
allow_failures: true
|
||||
php_cpd: # Copy/paste detector
|
||||
allow_failures: true
|
||||
php_code_sniffer: # Code sniffer
|
||||
standard: "tests/codesniffer/FHComplete"
|
||||
allowed_warnings: -1 # Warnings are ignored for a successful build
|
||||
allow_failures: true
|
||||
#codeception: # Codeception
|
||||
# config: "tests/codeception/"
|
||||
|
||||
Reference in New Issue
Block a user