My repo: GitHub - freepascal/laravel_angular_start: The test application
circle.xml
machine:
timezone:
America/Chicago
php:
version:
5.5.9
environment:
ENVIRONMENT: testing
DB_URL: 127.0.0.1
DB_NAME: circle_test
DB_USER: ubuntu
dependencies:
override:
- composer install --prefer-source --no-interaction --no-dev
checkout:
post:
- git submodule sync
- git submodule update --init
root/config/testing/database.php
return array(
‘default’ => ‘mysql’,
‘connections’ => array(
‘mysql’ => array(
‘driver’ => ‘mysql’,
‘host’ => getenv(‘DB_URL’),
‘port’ => 3306,
‘database’ => getenv(‘DB_NAME’),
‘username’ => getenv(‘DB_USER’),
‘charset’ => ‘utf8’,
‘collation’ => ‘utf8_unicode_ci’,
‘prefix’ => ‘’
)
)
);
I retrieved errors:
PHPUnit 4.1.6 by Sebastian Bergmann.
Configuration read from /home/ubuntu/laravel_angular_start/phpunit.xml
.EFPHP Fatal error: Class ‘Symfony\Component\DomCrawler\Crawler’ not found in /home/ubuntu/laravel_angular_start/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/InteractsWithPages.php on line 76
PHP Fatal error: Uncaught exception ‘Illuminate\Contracts\Container\BindingResolutionException’ with message ‘Target [Illuminate\Contracts\Debug\ExceptionHandler] is not instantiable.’ in /home/ubuntu/laravel_angular_start/bootstrap/cache/compiled.php:1341
Stack trace:
#0 /home/ubuntu/laravel_angular_start/bootstrap/cache/compiled.php(1287): Illuminate\Container\Container->build(‘Illuminate\Cont…’, Array)
#1 /home/ubuntu/laravel_angular_start/bootstrap/cache/compiled.php(1837): Illuminate\Container\Container->make(‘Illuminate\Cont…’, Array)
#2 /home/ubuntu/laravel_angular_start/bootstrap/cache/compiled.php(2156): Illuminate\Foundation\Application->make(‘Illuminate\Cont…’)
#3 /home/ubuntu/laravel_angular_start/bootstrap/cache/compiled.php(2125): Illuminate\Foundation\Bootstrap\HandleExceptions->getExceptionHandler()
#4 /home/ubuntu/laravel_angular_start/bootstrap/cache/compiled.php(2143): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Symfony\Component\Debug\Exception\FatalErrorException))
#5 [i in /home/ubuntu/laravel_angular_start/bootstrap/cache/compiled.php on line 1341
phpunit returned exit code 255