forked from ForensicArtifacts/artifacts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
41 lines (37 loc) · 1.46 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
environment:
matrix:
- DESCRIPTION: "Windows with 32-bit Python 3.10"
MACHINE_TYPE: "x86"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PYTHON: "C:\\Python310"
PYTHON_VERSION: "3.10"
L2TBINARIES_TRACK: "dev"
- DESCRIPTION: "Windows with 64-bit Python 3.10"
MACHINE_TYPE: "amd64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PYTHON: "C:\\Python310-x64"
PYTHON_VERSION: "3.10"
L2TBINARIES_TRACK: "dev"
- DESCRIPTION: "Mac OS with Python 3.10"
APPVEYOR_BUILD_WORKER_IMAGE: macos
HOMEBREW_NO_INSTALL_CLEANUP: 1
install:
- cmd: "%PYTHON%\\python.exe -m pip install -U pip setuptools twine wheel"
- cmd: "%PYTHON%\\python.exe -m pip install pywin32 WMI"
- cmd: "%PYTHON%\\python.exe %PYTHON%\\Scripts\\pywin32_postinstall.py -install"
- ps: If ($isWindows) { .\config\appveyor\install.ps1 }
- sh: config/appveyor/install.sh
build_script:
# Note that bdist_msi will change the version number to work-around limitations
# of the MSI version version numbering. Hence a MSI build is done separately
# from building the wheel to not influence its version number.
- cmd: "%PYTHON%\\python.exe setup.py bdist_msi"
- cmd: "%PYTHON%\\python.exe setup.py bdist_wheel"
test_script:
- cmd: "%PYTHON%\\python.exe run_tests.py"
- cmd: IF EXIST "tests\\end-to-end.py" (
set PYTHONPATH=. &&
"%PYTHON%\\python.exe" "tests\\end-to-end.py" --debug -c "config\\end-to-end.ini" )
- sh: config/appveyor/runtests.sh
artifacts:
- path: dist\*.whl