mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-14 21:11:14 +00:00
Split out tools
This commit is contained in:
10
php_tools/phpunit/README.md
Normal file
10
php_tools/phpunit/README.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# PHPUnit
|
||||
|
||||
PHPUnit is a programmer-oriented testing framework for PHP.
|
||||
It is an instance of the xUnit architecture for unit testing frameworks.
|
||||
|
||||
| Platform | Url |
|
||||
|----------|------------------------------------------------------------------|
|
||||
| Website | https://phpunit.de/ |
|
||||
| GitHub | https://github.com/sebastianbergmann/phpunit |
|
||||
| Versions | https://phpunit.de/supported-versions.html |
|
||||
39
php_tools/phpunit/install.yml
Normal file
39
php_tools/phpunit/install.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
|
||||
check: phpunit --version | grep -iE '^PHPUnit\s[0-9][.0-9]+' || (phpunit --version; false)
|
||||
|
||||
all:
|
||||
type: custom
|
||||
command: curl -sS -L --fail "https://phar.phpunit.de/phpunit-${PHP_UNIT_VERSION}.phar" -L -o /usr/local/bin/phpunit
|
||||
build_dep: []
|
||||
run_dep: []
|
||||
pre: PHP_UNIT_VERSION="9"
|
||||
post: chmod +x /usr/local/bin/phpunit
|
||||
|
||||
7.2:
|
||||
type: custom
|
||||
pre: PHP_UNIT_VERSION="8"
|
||||
|
||||
7.1:
|
||||
type: custom
|
||||
pre: PHP_UNIT_VERSION="7"
|
||||
|
||||
7.0:
|
||||
type: custom
|
||||
pre: PHP_UNIT_VERSION="6"
|
||||
|
||||
5.6:
|
||||
type: custom
|
||||
pre: PHP_UNIT_VERSION="5"
|
||||
|
||||
5.5:
|
||||
type: custom
|
||||
pre: PHP_UNIT_VERSION="4"
|
||||
|
||||
5.4:
|
||||
type: custom
|
||||
pre: PHP_UNIT_VERSION="4"
|
||||
|
||||
5.3:
|
||||
type: custom
|
||||
pre: PHP_UNIT_VERSION="4"
|
||||
11
php_tools/phpunit/options.yml
Normal file
11
php_tools/phpunit/options.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
|
||||
# The name of the module
|
||||
name: phpunit
|
||||
|
||||
# Exclude module build/installation for the following PHP versions
|
||||
exclude: [5.2]
|
||||
|
||||
# In order for this tool to build/install correctly,
|
||||
# the following tools must have been installed first.
|
||||
depends: []
|
||||
Reference in New Issue
Block a user