It seems that Travis is retrieving different compilers for different compilation stages from different configuration locations. Here I've simply updated the operating system compiler symlinks to the path specified in the CI environment variables.
Interestingly it seemed that xenial was able to link g++-8 with Cuda 10 however the cuda cmake module checks against it so I've additionally downgraded the compiler for that particular build.
It seems that Travis is retrieving different compilers for different compilation stages from different configuration locations. Here I've simply updated the operating system compiler symlinks to the path specified in the CI environment variables.
Interestingly it seemed that xenial was able to link g++-8 with Cuda 10 however the cuda cmake module checks against it so I've additionally downgraded the compiler for that particular build.