forked from python-rapidjson/python-rapidjson
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.appveyor.yml
More file actions
30 lines (26 loc) · 892 Bytes
/
.appveyor.yml
File metadata and controls
30 lines (26 loc) · 892 Bytes
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
# -*- coding: utf-8 -*-
# :Project: python-rapidjson -- Configuration to build and upload Windows wheels to PyPI
# :Author: Lele Gaifax <lele@metapensiero.it>
# :License: MIT License
# :Copyright: © 2017, 2018, 2019, 2020 Lele Gaifax
#
environment:
CIBW_TEST_REQUIRES: "pytest pytz"
CIBW_TEST_COMMAND: "py.test {project}\\tests"
CIBW_SKIP: "cp2* cp33* cp34* cp35* pp*"
TWINE_USERNAME: lelit
# Note: TWINE_PASSWORD is set in Appveyor settings
matrix:
- PYTHON: "C:\\Python38-x64\\python.exe"
install: "git submodule update --init --recursive"
build_script:
- "%PYTHON% -m pip install cibuildwheel==1.6.3"
- "%PYTHON% -m cibuildwheel --output-dir wheelhouse"
- ps: >-
if ($env:APPVEYOR_REPO_TAG -eq "true") {
pip install twine
twine upload (resolve-path wheelhouse\*.whl)
}
artifacts:
- path: "wheelhouse\\*.whl"
name: Wheels