Skip to content

sv331/gitlab-ci-php-example

Repository files navigation

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

About

Simple example of GitLab CI for PHP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages