Skip to content
Snippets Groups Projects
Unverified Commit 2fbbd1a4 authored by Daniel Siepmann's avatar Daniel Siepmann
Browse files

FEATURE: Integrate PSR2 check into CI

Relates: #28
parent 35e0a8f5
Branches
Tags
3 merge requests!37Release 0.4.0,!29Feature/integrate psr2 into ci,!25FEATURE: Implement PSR-2 PHPCodeSniffer Standard
Pipeline #83 failed with stage
in 1 minute and 49 seconds
...@@ -5,6 +5,15 @@ cache: ...@@ -5,6 +5,15 @@ cache:
paths: paths:
- vendor/ - vendor/
lint:coding-guideline: &PHP-LINTING
image: php:7.0-alpine
stage: test
script:
- ./vendor/bin/phpcs -s -n --report-full=result/phpcs-full.txt --report-diff=result/phpcs-diff.txt --report-summary=result/phpcs-summary.txt
artifacts:
when: on_failure
paths:
- result
test:5.3: &PHP-UNITTESTING test:5.3: &PHP-UNITTESTING
image: tetraweb/php:5.3 image: tetraweb/php:5.3
stage: test stage: test
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment