Sign inSign up

surbakti/debian10-phpci

By surbakti

Updated over 6 years ago

Image
0

1.4K

surbakti/debian10-phpci repository overview

PHP 7.3 CI/CD

Using latest debian 10 from official docker images

Features :

  • security checker
  • linting
  • check duplicate code

Gitlab CI Example

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: []

Tag summary

Content type

Image

Digest

Size

174.2 MB

Last updated

over 6 years ago

docker pull surbakti/debian10-phpci