phpunit测试套件未运行

时间:2018-12-10 20:16:27

标签: laravel phpunit codeship

我遇到

php vendor/bin/phpunit

我不知道为什么当我尝试使用Codeship或Bitbucket管道运行时,似乎没有按以下方式运行测试套件:

php vendor/bin/phpunit
dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../phpunit/phpunit" && pwd)
if [ -d /proc/cygdrive ] && [[ $(which php) == $(readlink -n /proc/cygdrive)/* ]]; then
   # We are in Cgywin using Windows php, so the path must be translated
   dir=$(cygpath -m "$dir");
fi
"${dir}/phpunit" "$@"

也许有人可以给我一个想法吗?

1 个答案:

答案 0 :(得分:0)

第一个建议是测试ssh debug session,否则您可能想直接使用构建网址与support@codeship.com联系。