mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-17 17:47:12 +00:00
* Removed FFI support * run_tests and ci-test.sh should never have differed. Fixing now * run_tests can now update composer
15 lines
196 B
Bash
Executable File
15 lines
196 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
if [ -z $PHP_BINARY ]; then
|
|
PHP_BINARY=$(which php)
|
|
fi
|
|
|
|
if [ ! -d vendor ]; then
|
|
composer update
|
|
fi
|
|
|
|
$PHP_BINARY -c php.ini vendor/bin/phpunit tests --debug
|
|
|