Fix appveyor config, take 2.

This commit is contained in:
Victor Zverovich 2014-07-27 08:30:37 -07:00
parent 721d95adf2
commit 2ebfa7b53d

View File

@ -2,10 +2,8 @@ environment:
matrix: matrix:
- Build: msvc - Build: msvc
- Build: mingw - Build: mingw
- Configuration: Debug
configuration: - Configuration: Release
- Debug
- Release
install: install:
- ps: | - ps: |
@ -26,8 +24,6 @@ before_build:
# 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" $generator = "-GMinGW Makefiles"
} else {
$generator = "-GVisual Studio 12 Win64"
} }
cmake -DFMT_EXTRA_TESTS=ON "-DCMAKE_BUILD_TYPE=$env:Configuration" "$generator" . cmake -DFMT_EXTRA_TESTS=ON "-DCMAKE_BUILD_TYPE=$env:Configuration" "$generator" .