Skip to content

Commit b0883d9

Browse files
authored
.appveyor.yml: Install pygit2 from compiled wheels (#146)
1 parent 2b7e711 commit b0883d9

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.appveyor.yml

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

2525
init:
26-
- cmd: '%PYTHON% -m pip install -U nose wheel'
27-
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
26+
- cmd: '%PYTHON% -m pip install -U nose wheel pygit2'
4227

4328
before_test:
4429
- cmd: git config --global user.name "appveyor-test"
4530
- cmd: git config --global user.email "[email protected]"
4631

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

0 commit comments

Comments
 (0)