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
63 lines (58 loc) · 1.96 KB
/
appveyor.yml
File metadata and controls
63 lines (58 loc) · 1.96 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
62
63
environment:
TWINE_USERNAME:
secure: sUo+lYht329nQC5JCxEB8w==
TWINE_PASSWORD:
secure: mjSxOmR8POpeVSL9mwOnH2XQAn9Trj5wn6dbmCIwgTSr2qjfm/y1UoQ2XkYV9QpATp1xLUKalIDc62bORmIMKe6GkhDayUymLC6RM8KRZqM93aPoNXst9c5YfdUVbJuubk1QsJ/wE8KZrr6jrcXM3H7rfiq9Z8NtEud1XDD/d8MKbR9LkL4Y9ACI12jfayQ+uwaTOMhs9/1XlT92FEPGqy0Qlr/zXLd7TixOkAB/cyqYJdD3B6+fyvqxFxPVrA+iWhldv60ERQmlXW/j7WbPCw==
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
- PYTHON: C:\Python38-x64\python.exe
platform: x64
- PYTHON: C:\Python38\python.exe
platform: Any CPU
- PYPY3: pypy3.6-v7.2.0
platform: Any CPU
- PYPY3: pypy3.6-v7.3.0
platform: Any CPU
matrix:
allow_failures:
- DEPLOY_ONLY: true
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
- 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/*"