Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI on windows #641

Merged
merged 8 commits into from
Jul 10, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 1.0.{build}
image: Visual Studio 2015
configuration: Release
environment:
matrix:
- ARCH: 32
GENERATOR: '"Visual Studio 11"'
PYTHON: '"C:\Python35\python.exe"'
PIP: '"C:\Python35\Scripts\pip.exe"'
- ARCH: 64
GENERATOR: '"Visual Studio 11 Win64"'
PYTHON: '"C:\Python35-x64\python.exe"'
PIP: '"C:\Python35-x64\Scripts\pip.exe"'
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

cd build
cmake -DSTDCALL=OFF -DBUILD_CLAR=OFF -DCMAKE_INSTALL_PREFIX=%LIBGIT2% ../libgit2 -G %GENERATOR%
cmake --build . --config Release --target install
cd ..

%PIP% install wheel
%PYTHON% setup.py bdist_wheel
%PIP% install .

test_script:
- cmd: '%PYTHON% setup.py test'
artifacts:
- path: dist\*.whl