Installed package version inconsistent across the builds

I am installing gcov and lcov using sudo apt-get install lcov.

It appears that the version of gcov varies across my builds.

Here is what I get ssh-ing to one machine at one point (I am not sure why I had venv in the prompt here, and whether it has any role):

(venv-2.7.11) ubuntu@box3002:~$ gcov --version
gcov (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.

(venv-2.7.11) ubuntu@box3002:~$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

And this is what I get ssh-ing to a machine from another build today:

ubuntu@box434:~$ gcov --version
gcov (Ubuntu/Linaro 4.6.4-1ubuntu1~12.04) 4.6.4
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.

ubuntu@box434:~$ gcc --version
gcc (Ubuntu 4.9.2-0ubuntu1~12.04) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This is my config file: https://github.com/QIICR/dcmqi/blob/master/circle.yml

Reading my own post, I see I have different versions of Ubuntu, which explains it I guess, but I don’t see why I am getting different versions of Ubuntu for the same project.

I have Trusty selected in the project settings “Build environment”.

When I do sudo apt-get install lcov, I am getting messages that seem to indicate Trusty packages are queried:

But command line says I am on 12.04:

ubuntu@box515:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.5 LTS
Release:	12.04
Codename:	precise
ubuntu@box515:~$