2016-06-11 21:51:50 +00:00
|
|
|
version: '{build}'
|
|
|
|
|
|
|
|
init:
|
|
|
|
- ps: Update-AppveyorBuild -Version "1.0.3-$($env:appveyor_repo_commit.substring(0,7))"
|
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- compiler: msys2
|
|
|
|
MSYS2_ARCH: x86_64
|
|
|
|
MSYS2_DIR: msys64
|
|
|
|
MINGW: MINGW64
|
|
|
|
install:
|
|
|
|
- 'SET PATH=C:\%MSYS2_DIR%\usr\bin;C:\%MSYS2_DIR%\%MINGW%\bin;%PATH%'
|
|
|
|
- 'bash -lc "pacman --noprogressbar --noconfirm --needed -S mingw-w64-%MSYS2_ARCH%-{python3,gcc,lz4,python3-pip,cython,ntldd-git} git openssl"'
|
|
|
|
- 'bash -lc "python3 -m pip install -U pip"'
|
|
|
|
- 'pip3 install -r requirements.d/development.txt'
|
|
|
|
- 'pip3 install setuptools_scm'
|
|
|
|
build_script:
|
|
|
|
- 'pip3 install -e .'
|
|
|
|
- 'python3 deployment/windows/buildwin32.py'
|
|
|
|
test_script:
|
2016-07-04 13:46:28 +00:00
|
|
|
# python will return 0 so appveyor will pass the build
|
|
|
|
- cmd: python3 -c "import pytest;pytest.main('--cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs src/borg/testsuite')"
|
2016-06-11 21:51:50 +00:00
|
|
|
artifacts:
|
|
|
|
- path: win32exe
|
|
|
|
name: windowsbuild
|
|
|
|
type: zip
|