forked from scarletcafe/jishaku
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
44 lines (34 loc) · 1.81 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
42
43
44
build: false
environment:
global:
# MSVC Express 2008's setenv.cmd failes if /E:ON and /V:ON are not
# enabled in the batch script interpreter
CMD_IN_ENV: cmd /E:ON /V:ON /C .\appveyor\run_with_env.cmd
matrix:
# For Python versions available on Appveyor, see
# https://www.appveyor.com/docs/windows-images-software/#python
- { APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022, PY_VER: "310", PYTHON_VERSION: "3.10.x", PYTHON_ARCH: "32" }
- { APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022, PY_VER: "310", PYTHON_VERSION: "3.10.x", PYTHON_ARCH: "64" }
- { APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022, PY_VER: "39", PYTHON_VERSION: "3.9.x", PYTHON_ARCH: "32" }
- { APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022, PY_VER: "39", PYTHON_VERSION: "3.9.x", PYTHON_ARCH: "64" }
- { APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022, PY_VER: "38", PYTHON_VERSION: "3.8.x", PYTHON_ARCH: "32" }
- { APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022, PY_VER: "38", PYTHON_VERSION: "3.8.x", PYTHON_ARCH: "64" }
install:
- set PYTHON=C:\Python%PY_VER%
- if %PYTHON_ARCH%==64 (set PYTHON=%PYTHON%-x64)
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "SET PYTHONPATH=%CD%;%PYTHONPATH%"
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
- "python -m pip install -U pip setuptools wheel"
- "pip install -U \"discord.py[voice] @ git+https://github.com/Rapptz/discord.py@master\""
- "pip install -U -r requirements/_.txt -r requirements/docs.txt -r requirements/procinfo.txt -r requirements/test.txt -r requirements/voice.txt"
test_script:
- "pytest -vs --cov=jishaku --cov-report term-missing:skip-covered"
- "flake8 ."
- "pylint jishaku"
- "isort . --check-only"
after_test:
- "python setup.py sdist bdist_egg bdist_wheel"
artifacts:
- path: dist\*