Tests will currently fail, as Selenium is executed with a firefox web browser, despite an environment variable ROUNDCUBE_TEST_BROWSER set to phantomjs. tests/Selenium/bootstrap.php seems to refer to firefox if no configuration value is set, leading me to believe that the environment variable is not taken in to account.
This, as such, may be a setup problem.
However, when tests/Selenium/bootstrap.php default is substituted for phantomjs, the tests still fail. This may (again) have to do with the environment variables not being taken in to account (not unlike ROUNDCUBE_TEST_BROWSER) however rather than fail instantly the tests seem to time out.