Ubuntu Trusty doesn't have pdo_pgsql

I’m new to Circle and still learning the ropes as I work to get a CakePHP project working and I think I may be running into a similar/related issue.

my phpunit call is failing and the output I see in the web interface is…

phpunit
PHPUnit 5.3.4 by Sebastian Bergmann and contributors.

Exception: Unable to insert fixtures for "App\Test\TestCase\Controller\DepartmentsControllerTest" test case. SQLSTATE[HY000] [2002] No such file or directory in [/home/ubuntu/PROJECT-NAME/vendor/cakephp/cakephp/src/TestSuite/Fixture/FixtureManager.php, line 342]
PHPUnit 5.3.4 by Sebastian Bergmann and contributors.

When I ssh in and run it manually I get the same issue. Trying to run CakePHP’s bake tool–which connects to the database–provides more detail:

$ ./bin/cake bake model

Welcome to CakePHP v3.2.9 Console
---------------------------------------------------------------
App : src
Path: /home/ubuntu/PROJECT-NAME/src/
PHP : 5.6.17
---------------------------------------------------------------
Choose a model to bake from the following:
Exception: Database driver Cake\Database\Driver\Postgres cannot be used due to a missing PHP extension or unmet dependency in [/home/ubuntu/PROJECT-NAME/vendor/cakephp/cakephp/src/Database/Connection.php, line 169]
2016-05-19 18:21:34 Error: [Cake\Database\Exception\MissingExtensionException] Database driver Cake\Database\Driver\Postgres cannot be used due to a missing PHP extension or unmet dependency
Exception Attributes: array (
  'driver' => 'Cake\\Database\\Driver\\Postgres',
)
Stack Trace:
#0 /home/ubuntu/PROJECT-NAME/vendor/cakephp/cakephp/src/Database/Connection.php(108): Cake\Database\Connection->driver('Cake\\Database\\D...', Array)
#1 /home/ubuntu/PROJECT-NAME/vendor/cakephp/cakephp/src/Datasource/ConnectionRegistry.php(87): Cake\Database\Connection->__construct(Array)
#2 /home/ubuntu/PROJECT-NAME/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php(93): Cake\Datasource\ConnectionRegistry->_create('Cake\\Database\\C...', 'default', Array)
#3 /home/ubuntu/PROJECT-NAME/vendor/cakephp/cakephp/src/Datasource/ConnectionManager.php(202): Cake\Core\ObjectRegistry->load('default', Array)
#4 /home/ubuntu/PROJECT-NAME/vendor/cakephp/bake/src/Shell/Task/ModelTask.php(913): Cake\Datasource\ConnectionManager::get('default')
#5 /home/ubuntu/PROJECT-NAME/vendor/cakephp/bake/src/Shell/Task/ModelTask.php(875): Bake\Shell\Task\ModelTask->_getAllTables()
#6 /home/ubuntu/PROJECT-NAME/vendor/cakephp/bake/src/Shell/Task/ModelTask.php(889): Bake\Shell\Task\ModelTask->listAll()
#7 /home/ubuntu/PROJECT-NAME/vendor/cakephp/bake/src/Shell/Task/ModelTask.php(90): Bake\Shell\Task\ModelTask->listUnskipped()
#8 [internal function]: Bake\Shell\Task\ModelTask->main()
#9 /home/ubuntu/PROJECT-NAME/vendor/cakephp/cakephp/src/Console/Shell.php(456): call_user_func_array(Array, Array)
#10 /home/ubuntu/PROJECT-NAME/vendor/cakephp/cakephp/src/Console/Shell.php(450): Cake\Console\Shell->runCommand(Array, false)
#11 /home/ubuntu/PROJECT-NAME/vendor/cakephp/cakephp/src/Console/ShellDispatcher.php(217): Cake\Console\Shell->runCommand(Array, true, Array)
#12 /home/ubuntu/PROJECT-NAME/vendor/cakephp/cakephp/src/Console/ShellDispatcher.php(181): Cake\Console\ShellDispatcher->_dispatch(Array)
#13 /home/ubuntu/PROJECT-NAME/vendor/cakephp/cakephp/src/Console/ShellDispatcher.php(127): Cake\Console\ShellDispatcher->dispatch(Array)
#14 /home/ubuntu/PROJECT-NAME/bin/cake.php(33): Cake\Console\ShellDispatcher::run(Array)
#15 {main}

From what I’ve read, my guess is that I’m running into the same issue (lack of pdo_pgsql), but I’d appreciate any guidance on what the issue is.