forked from libtcod/python-tcod
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
61 lines (56 loc) · 1.71 KB
/
appveyor.yml
File metadata and controls
61 lines (56 loc) · 1.71 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
environment:
TWINE_USERNAME:
secure: 6EhNSnUl0yOO26EeQ5WG1pQx8v/vp99/u24NRpZvF0k=
TWINE_PASSWORD:
secure: PwPzzV8DPqw/+5M66FJQ5tbiF7rlOIK+bQIl8dFdF34=
CODACY_PROJECT_TOKEN:
secure: xprpiCGL823NKrs/K2Cps1UVBEmpezXReLxcfLyU1M43ZBBOK91xvjdIJamYKi8D
DEPLOY_ONLY: false
matrix:
- PYTHON: C:\Python35-x64\python.exe
platform: x64
- PYTHON: C:\Python35\python.exe
platform: Any CPU
- PYTHON: C:\Python36-x64\python.exe
platform: x64
- PYTHON: C:\Python36\python.exe
platform: Any CPU
- PYTHON: C:\Python37-x64\python.exe
platform: x64
- PYTHON: C:\Python37\python.exe
platform: Any CPU
- PYPY3: pypy3.5-v7.0.0
platform: Any CPU
- PYPY3: pypy3.6-v7.1.1
platform: Any CPU
matrix:
allow_failures:
- DEPLOY_ONLY: true
- PYPY3: pypy3.5-v7.0.0
- PYPY3: pypy3.6-v7.1.1
clone_depth: 50
init:
- cmd: "if %APPVEYOR_REPO_TAG%==false if %DEPLOY_ONLY%==true exit /b 1"
install:
- cmd: "git submodule update --init --recursive"
- ps: ". .appveyor/install_python.ps1"
- cmd: "%ACTIVATE_VENV%"
- cmd: "set PATH=%APPVEYOR_BUILD_FOLDER%\\venv\\bin;%PATH%"
- cmd: "set PATH=%PATH%;C:\\MinGW\\bin"
- cmd: "python --version"
- cmd: "pip --version"
- cmd: "pip install --upgrade setuptools"
- cmd: "pip install --requirement requirements.txt"
- cmd: "python setup.py build sdist develop bdist_wheel"
build: off
before_test:
- cmd: "pip install pytest pytest-cov"
test_script:
- ps: "pytest -v"
on_success:
- pip install codacy-coverage python-coveralls
- coverage xml
- if defined CODACY_PROJECT_TOKEN python-codacy-coverage -r coverage.xml || cd .
deploy_script:
- "if defined APPVEYOR_REPO_TAG_NAME pip install twine"
- "if defined APPVEYOR_REPO_TAG_NAME twine upload --skip-existing dist/*"