Skip to content

Commit

Permalink
Fix Appveyor config
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Jun 22, 2021
1 parent 17719b8 commit 3f71213
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/c-code
[meta]
template = "c-code"
commit-id = "b716885c48d670f636e34c3d058803a48d9b520e"
commit-id = "17719b8b55c2f7f9bf278e62fc1ae263a70bd9b4"

[python]
with-appveyor = true
Expand All @@ -24,3 +24,17 @@ additional-rules = [
"recursive-include docs *.bat",
"recursive-include src *.rst",
]

[appveyor]
global-env-vars = [
"# Currently the builds use @mgedmin's Appveyor account. The PyPI token",
"# belongs to zope.wheelbuilder, which is managed by @mgedmin and @dataflake.",
"",
"global:",
" TWINE_USERNAME: __token__",
" TWINE_PASSWORD:",
" secure: aoZC/+rvJKg8B5GMGIxd1VTV3PcyYlv24IVlfMnG7u6WiuD8XHkwbNCE9e6o7me9uvONYgQBwedB0w3pEOjSYCZnGLHD8wPpSyvU6mJ/sm5zefc/k4/MwNE1QHlT4+e+W7YnjXZCZYCTihoGVxCaCOpttBrqt2ccNpXlfm9rJM1/AXL5e5TvahSnRtV4HfEt3BEtbO3GGrqXVa6wk+T4f2ywIKMmZ+xmav9eslRCnI6pX8dWs6Ulw8fr5QUycZY+ARTXyPYz4iOrNSVzs4uIQg==",
]
build-script = [
"- python -W ignore setup.py -q bdist_wheel",
]
11 changes: 10 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
# https://github.com/zopefoundation/meta/tree/master/config/c-code
environment:

# Currently the builds use @mgedmin's Appveyor account. The PyPI token
# belongs to zope.wheelbuilder, which is managed by @mgedmin and @dataflake.

global:
TWINE_USERNAME: __token__
TWINE_PASSWORD:
secure: aoZC/+rvJKg8B5GMGIxd1VTV3PcyYlv24IVlfMnG7u6WiuD8XHkwbNCE9e6o7me9uvONYgQBwedB0w3pEOjSYCZnGLHD8wPpSyvU6mJ/sm5zefc/k4/MwNE1QHlT4+e+W7YnjXZCZYCTihoGVxCaCOpttBrqt2ccNpXlfm9rJM1/AXL5e5TvahSnRtV4HfEt3BEtbO3GGrqXVa6wk+T4f2ywIKMmZ+xmav9eslRCnI6pX8dWs6Ulw8fr5QUycZY+ARTXyPYz4iOrNSVzs4uIQg==

matrix:
- python: 27
- python: 27-x64
Expand Down Expand Up @@ -34,7 +42,8 @@ install:
matrix:
fast_finish: true

build: false
build_script:
- python -W ignore setup.py -q bdist_wheel

test_script:
- zope-testrunner --test-path=src
Expand Down

0 comments on commit 3f71213

Please sign in to comment.