Skip to content

Commit 0aa5c5c

Browse files
committed
give up on appveyor deploy scripts and use before_deploy
1 parent 8bbab97 commit 0aa5c5c

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

HISTORY.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
History
33
=======
44

5-
0.7.4 (2017-06-18)
5+
0.7.5 (2017-06-18)
66
------------------
77

88
* First release on PyPI.

appveyor.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,12 @@ artifacts:
7676
type: File
7777
name: rust_pypi_example
7878

79+
before_deploy:
80+
# appveyor deploy is flaky for wheels
81+
# upload to pypi with twine when there is a new tag
82+
- cmd: if %APPVEYOR_REPO_TAG% equ true (%PYTHON_DIR%\\python -m ci after_test)
7983

8084
deploy:
81-
# upload to pypi with twine.
82-
- provider: script
83-
script: "%PYTHON_DIR%\\python -m ci after_test"
84-
on:
85-
appveyor_repo_tag: true
86-
8785
- provider: GitHub
8886
# TODO update `auth_token.secure`
8987
# - Create a `public_repo` GitHub token. Go to: https://github.com/settings/tokens/new

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ replace = {new_version}
1919
search = {current_version}
2020
replace = {new_version}
2121

22+
2223
[flake8]
2324
exclude = docs
2425

2526
[aliases]
26-
test = pytest
27+
test=pytest
2728

2829
[tool:pytest]
2930
testpaths = tests
30-
addopts = --verbose
31-
31+
addopts = --verbose

0 commit comments

Comments
 (0)