Merge pull request #2861 from libgit2/ntk/appveyor

AppVeyor: Prettify build script
This commit is contained in:
Edward Thomson 2015-02-03 21:19:21 -05:00
commit 573a53a8f7

View File

@ -9,17 +9,12 @@ environment:
- GENERATOR: "Visual Studio 11 Win64" - GENERATOR: "Visual Studio 11 Win64"
ARCH: 64 ARCH: 64
build_script: build_script:
- ps: >- - ps: |
choco install cmake choco install cmake
choco install python2 choco install python2
mkdir build mkdir build
cd build cd build
cmake -D ENABLE_TRACE=ON -D BUILD_CLAR=ON .. -G"$env:GENERATOR" cmake -D ENABLE_TRACE=ON -D BUILD_CLAR=ON .. -G"$env:GENERATOR"
cmake --build . --config RelWithDebInfo cmake --build . --config RelWithDebInfo
test_script: test_script:
- ps: ctest -V . - ps: ctest -V .