Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHPUnit 版本是 Codeship 上的 PHPUnit 4.3.5。但是 PHPUnit 5.2 是当前的稳定版本系列。
如何在 Codeship 上使用 PHPUnit 5.2.5?
composer install只需在“设置命令”部分之前添加此内容:
composer install
composer global remove "phpunit/phpunit" --update-with-dependencies composer global require "phpunit/phpunit=5.*"
这个对我有用!