mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-18 10:07:12 +00:00
21 lines
295 B
Bash
Executable File
21 lines
295 B
Bash
Executable File
#!/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
|
|
|
|
$PHP_BINARY --version
|
|
|
|
$launcher $PHP_BINARY -c php.ini vendor/bin/phpunit tests --debug
|