I’m trying to run phpunit tests against a postgres database. The tests fail with a PDOException: could not find driver. I believe this is because I’m missing the postgres driver.
When I run sudo apt-get install -y php7.1-pgsql I can’t locate the package.
The /etc/apt/sources.list file is locked down, so I’m unable to add an repositories.
The config errors these commands throw will halt the Circle Build, but the tools are in place and usable. I found one of them is a Debian bug, so who knows when it will make it to Ubuntu.
I tested a custom image with Centos as a base, but in the end that doesn’t make sense for testing b/c we’re using Ubuntu on the production environment.