Hello i’m trying to run behat (for REST API) test but i can not connect to server.
Here is my configuration circle.yml:
machine:
timezone:
Europe/Prague
php:
version: 7.0.7
dependencies:
pre:
- cp $HOME/$CIRCLE_PROJECT_REPONAME/app/config/parameters.yml.circle.dist $HOME/$CIRCLE_PROJECT_REPONAME/app/config/parameters.yml
post:
- sudo cp $HOME/$CIRCLE_PROJECT_REPONAME/app/config/robeeto.conf /etc/apache2/sites-available
- sudo a2ensite robeeto.conf
- sudo rm /etc/apache2/mods-enabled/php5.load
- sudo service apache2 restart
database:
override:
- php app/console doctrine:migrations:migrate --no-interaction -e=test
test:
override:
- php bin/behat
Here is my robeeto.conf:
Listen 8080
<VirtualHost *:8080>
LoadModule php7_module /opt/circleci/php/7.0.7/usr/lib/apache2/modules/libphp7.so
DocumentRoot /home/ubuntu/my_project/web
ServerName robeeto.com
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
</VirtualHost>
And error is: cURL error 6: Could not resolve host: rebeeto.com (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) (GuzzleHttp\Exception\ConnectException)
Thanks