Behat / WebApiExtension

Behat extension to test web APIs
http://extensions.behat.org
MIT License
109 stars 113 forks source link

Added support of HHVM on Travis to run the testapp webserver #2

Closed stof closed 10 years ago

stof commented 10 years ago

For HHVM, I install nginx to have a webserver and I run HHVM as FastCgi (the same could be used for PHP 5.3 using PHP-FPM for projects needing it but we don't support PHP 5.3 because of Guzzle4)

I also moved the launch of the webserver before running composer, which avoids the need to run a potentially infinite loop waiting for the webserver to start listening on 8080. The time needed to install dependencies will be enough for that.

stof commented 10 years ago

After hours debugging why I was getting 404 errors, I finally figured that I was missing the escaping of $ in $document_root