mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 04:01:47 +00:00
87fc9b3796
* Run ci static analysis checks using scripts * Clean up * Move phpunit run to dedicated script * Use run.sh and remove ci.sh * Rename test scripts to be prefixed with "run_" * Move static analysis runs to test script * Clean up
5 lines
192 B
Bash
5 lines
192 B
Bash
# Use installed version when variable not set.
|
|
if [[ -z "${CI_PHP_VERSION}" ]]; then
|
|
CI_PHP_VERSION="$(php -r "echo preg_replace('/^([0-9]+\.[0-9]+)\.[0-9]+/', '\$1', phpversion());")"
|
|
fi
|