Skip to content
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
18 changes: 2 additions & 16 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,16 @@ environment:
PYTHON: 'C:\Python36-x64\python.exe'

init:
- cmd: '%PYTHON% -m pip install -U nose wheel'
- cmd: '%PYTHON% -m pip install -U nose wheel pygit2'

build_script:
- cmd: |
set LIBGIT2=%APPVEYOR_BUILD_FOLDER%\build\libgit2
git clone --depth=1 -b maint/v0.25 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 ..

IF "%GENERATOR%"=="Visual Studio 10 Win64" ( call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" )

"%PYTHON%" setup.py bdist_wheel
build: off

before_test:
- cmd: git config --global user.name "appveyor-test"
- cmd: git config --global user.email "appveyor@test.com"

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