Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 533 Bytes

README.md

File metadata and controls

18 lines (9 loc) · 533 Bytes

GitLab CI PHP Example

Simple example of GitLab CI for PHP.

It runs CI pipeline with two jobs in PHP 7.1 and PHP 7.2 with 3 steps:

  1. PSR-2 coding standard check with CodeSniffer
  2. Code static analysis with PHPStan
  3. Run tests with PHPUnit

Configuration is in scripts section of composer.json

Example on GitLab