Using latest debian 10 from official docker images
Features :
add these configuration to your .gitlab-ci.yml
image: surbakti/debian10-phpci:latest
stages:
- linting
- phpcd
- security-checker
linting:
stage : linting
script:
- pwd
- find . -name \*.php -type f -exec php -l {} \; | if grep -v "No syntax errors detected"; then exit 1; fi
phpcpd:
stage: phpcd
script:
- phpcd . --min-lines=50
sensiolabs:
stage: security-checker
script:
- php-security-checker security:check composer.lock
dependencies: []
Content type
Image
Digest
Size
174.2 MB
Last updated
over 6 years ago
docker pull surbakti/debian10-phpci