We are using circleCI for deploying an application built on laravel and postgres on php 7.0. It was working fine for application running on circleCI version 1. But when we configured new application using laravel and postgres and php7.0, Its not running unit test. On checking we found, that pgsql pdo drivers are missing. Though the same was working for our prior application, but not for application on version 2.
We tried different images too, if those docker images are lacking somewhere.
We also tried to find which image was being used for version 1, so we can use the same image.
Then we also tried to run sudo apt-get install php7.0-pgsql, which does the same job on our local machine. But all in vain.
It always ends in the error: : Doctrine\DBAL\Driver\PDOException: could not find driver.