Well, that's annoying. Those are non-terminating errors that were suppressed from showing up at the console via -ErrorAction SilentlyContinue, but they still show up in the error stream, which I assume is what your CI process is reading. We could use -ErrorAction Ignore, except that only exists in PowerShell 3.0 and later.
I can't upload this to a new branch until this evening, but you can try replacing the New-TestDrive function (found at the beginning of the Functions\TestDrive.ps1 in the Pester module) with this code instead. It's less efficient, but avoids polluting the error stream with garbage:
function New-TestDrive ([Switch]$PassThru) {
$Path = New-RandomTempDirectory
$DriveName = "TestDrive"
if (-not (Microsoft.PowerShell.Management\Test-Path -Path $Path))
{
New-Item -ItemType Container -Path $Path | Out-Null
}
#setup the test drive
$drive = Get-PSDrive | Where-Object { $_.Name -eq $DriveName }
if (-not $drive)
{
New-PSDrive -Name $DriveName -PSProvider FileSystem -Root $Path -Scope Global -Description "Pester test drive" | Out-Null
}
#publish the global TestDrive variable used in few places within the module
$variable = Get-Variable -Scope Global | Where-Object { $_.Name -eq $DriveName }
if (-not $variable)
{
New-Variable -Name $DriveName -Scope Global -Value $Path
}
if ( $PassThru ) { Get-PSDrive -Name $DriveName }
}