Remove Git bin directory from the path because it breaks mingw config.

This commit is contained in:
Victor Zverovich 2014-07-10 07:58:42 -07:00
parent f29a3fadbf
commit 59ed28274c

View File

@ -22,7 +22,11 @@ install:
- set PATH=C:\Program Files (x86)\MSBuild\12.0\bin\;%PATH%;C:\mingw64\bin
before_build:
- ps: cmake -DFMT_EXTRA_TESTS=ON "$env:generator" .
- ps: |
if ($env:build -eq "mingw") {
$env:PATH = $env:PATH -replace "C:\\Program Files (x86)\\Git\\bin",""
}
cmake -DFMT_EXTRA_TESTS=ON "$env:generator" .
build_script:
- ps: |