Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elliotjreed/php-test-runner

Docker image with PHPUnit, PHPCS, Composer, and various PHP extensions. Could be used for a CI platform such as Travis or Bitbucket Pipelines.
https://github.com/elliotjreed/php-test-runner

bitbucket-pipelines phpcs phpunit travis travis-ci

Last synced: 2 days ago
JSON representation

Docker image with PHPUnit, PHPCS, Composer, and various PHP extensions. Could be used for a CI platform such as Travis or Bitbucket Pipelines.

Awesome Lists containing this project

README

        

# Docker PHP Test Runner

A Docker image with PHPUnit, PHPCS, Composer, and various PHP extensions, including XDebug for use with code coverage.

This could be used for a CI platform such as Travis or Bitbucket Pipelines.

## PHPUnit

```bash
docker run -v $PWD/:/opt/test-runner elliotjreed/php-test-runner phpunit
```

## PHP Code Sniffer (PHPCS)

```bash
docker run -v $PWD/:/opt/test-runner elliotjreed/php-test-runner phpcs
```

## Composer

```bash
docker run -v $PWD/:/opt/test-runner elliotjreed/php-test-runner composer
```