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