Split out tools

This commit is contained in:
cytopia
2022-12-07 16:55:17 +01:00
parent 101e8abb65
commit 0126289bf0
115 changed files with 16388 additions and 12604 deletions

View 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 |

View 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"

View 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: []