1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 17:59:55 +02:00
Oinktube/vendor/aws/aws-crt-php/run_tests
2021-11-08 13:53:37 -03:00

18 lines
272 B
Bash

#!/usr/bin/env bash
set -ex
launcher=
if command -v catchsegv; then
launcher=catchsegv
fi
if [ -z $PHP_BINARY ]; then
PHP_BINARY=$(which php)
fi
if [ ! -d vendor ]; then
composer update
fi
$launcher $PHP_BINARY -c php.ini vendor/bin/phpunit tests --debug