Clean appveyor config.

This commit is contained in:
Victor Zverovich 2014-07-10 09:34:26 -07:00
parent eb04e9abd3
commit 308ee8a7eb

View File

@ -2,7 +2,6 @@ environment:
matrix:
- Build: msvc
- Build: mingw
Generator: -GMinGW Makefiles
configuration:
- Debug
@ -23,11 +22,13 @@ install:
before_build:
- ps: |
echo $env:Configuration
if ($env:Build -eq "mingw") {
# Remove path to Git bin directory from PATH because it breaks MinGW config.
$env:PATH = $env:PATH -replace "C:\\Program Files \(x86\)\\Git\\bin",""
$generator = "-GMinGW Makefiles"
}
cmake -DFMT_EXTRA_TESTS=ON -DCMAKE_BUILD_TYPE=$env:Configuration "$env:Generator" .
cmake -DFMT_EXTRA_TESTS=ON -DCMAKE_BUILD_TYPE=$env:Configuration "$generator" .
build_script:
- ps: |