Create appveyor.yml

This commit is contained in:
Matthias Bartelmeß 2016-07-03 15:41:23 +02:00 committed by GitHub
parent 4fa43e234e
commit e96d0286b8

19
appveyor.yml Normal file

@ -0,0 +1,19 @@
version: 1.0.{build}
image: Visual Studio 2015
configuration: Release
build_script:
- cmd: |
set LIBGIT2=%APPVEYOR_BUILD_FOLDER%\build\libgit2
git clone --depth=1 -b maint/v0.24 https://github.com/libgit2/libgit2.git libgit2
mkdir build
pushd build
cmake -DSTDCALL=OFF -DBUILD_CLAR=OFF -DCMAKE_INSTALL_PREFIX=%LIBGIT2% ../libgit2 -G"Visual Studio 11 Win64"
cmake --build . --config Release --target install
popd
C:\Python35-x64\Scripts\pip.exe install wheel
C:\Python35-x64\python.exe setup.py bdist_wheel
artifacts:
- path: build\*