Skip to content

Commit 7c2029e

Browse files
authored
Merge pull request #148 from techtonik/patch-1
.appveyor.yml: Install pygit2 from compiled wheels (#146)
2 parents 2b7e711 + 1a6f24d commit 7c2029e

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.appveyor.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,16 @@ environment:
2323
PYTHON: 'C:\Python36-x64\python.exe'
2424

2525
init:
26-
- cmd: '%PYTHON% -m pip install -U nose wheel'
26+
- cmd: '%PYTHON% -m pip install -U nose wheel pygit2'
2727

28-
build_script:
29-
- cmd: |
30-
set LIBGIT2=%APPVEYOR_BUILD_FOLDER%\build\libgit2
31-
git clone --depth=1 -b maint/v0.25 https://github.com/libgit2/libgit2.git libgit2
32-
mkdir build
33-
34-
cd build
35-
cmake -DSTDCALL=OFF -DBUILD_CLAR=OFF -DCMAKE_INSTALL_PREFIX="%LIBGIT2%" ../libgit2 -G "%GENERATOR%"
36-
cmake --build . --config Release --target install
37-
cd ..
38-
39-
IF "%GENERATOR%"=="Visual Studio 10 Win64" ( call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" )
40-
41-
"%PYTHON%" setup.py bdist_wheel
28+
build: off
4229

4330
before_test:
4431
- cmd: git config --global user.name "appveyor-test"
4532
- cmd: git config --global user.email "[email protected]"
4633

4734
test_script:
4835
- ps: |
49-
cp build\Release\git2.dll .
5036
&$env:PYTHON setup.py nosetests --logging-level=WARN --with-xunit
5137
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
5238
# upload results to AppVeyor

0 commit comments

Comments
 (0)