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: 13 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.
- Host: GitHub
- URL: https://github.com/elliotjreed/php-test-runner
- Owner: elliotjreed
- License: mit
- Created: 2018-07-12T06:47:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-04T12:14:36.000Z (over 4 years ago)
- Last Synced: 2024-12-26T07:22:34.418Z (5 months ago)
- Topics: bitbucket-pipelines, phpcs, phpunit, travis, travis-ci
- Homepage: https://hub.docker.com/r/elliotjreed/php-test-runner/
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```