Skip to content

Commit 648abe5

Browse files
committed
Remove ordereddict whl
1 parent 2902736 commit 648abe5

File tree

3 files changed

+9
-21
lines changed

3 files changed

+9
-21
lines changed

.travis.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,4 @@ script:
3030

3131
after_success:
3232
- ls wheelhouse/
33-
34-
deploy:
35-
provider: script
36-
skip_cleanup: true
37-
script: /bin/bash ci/deploy.sh
38-
on:
39-
tags: true
40-
repo: whtsky/bencoder.pyx
33+
- if [ $TRAVIS_TAG ]; then source ci/deploy.sh; fi

appveyor.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '{branch}-{build}'
22
cache:
33
- '%LOCALAPPDATA%\pip\Cache'
44
environment:
5-
password:
5+
PYPI_PASSWD:
66
secure: pp1j5lAB9NN8ZDasgY+oxoGrNw0+4gGzbNZmHVwJkCzUyrNBP5ZIuCrwjmx4q6ifg7RMiE3bVt9MljFCJh3XpsvVOAcx+AGKsHSjtXd40HM=
77
init:
88
- ps: "ls C:/Python*"
@@ -23,18 +23,13 @@ after_test:
2323
- codecov
2424
- del bencoder.c
2525
- tox -c tox-wheels.ini
26+
- ps: "ls wheelhouse/*"
2627

2728
deploy_script:
28-
- ps: "ls wheelhouse/*"
29-
- echo [distutils] > %USERPROFILE%\\.pypirc
30-
- echo index-servers = >> %USERPROFILE%\\.pypirc
31-
- echo pypi >> %USERPROFILE%\\.pypirc
32-
- echo [pypi] >> %USERPROFILE%\\.pypirc
33-
- echo username=whtsky >> %USERPROFILE%\\.pypirc
34-
- echo password=%password% >> %USERPROFILE%\\.pypirc
35-
- set HOME=%USERPROFILE%
36-
- pip install twine
37-
- ps: if($env:APPVEYOR_REPO_TAG -eq $TRUE) { "twine upload wheelhouse/*.whl" }
29+
- ps: >-
30+
if($env:appveyor_repo_tag -eq 'True') {
31+
twine upload --username whtsky --password $env:PYPI_PASSWD wheelhouse/bencoder*.whl
32+
}
3833
3934
artifacts:
40-
- path: wheelhouse/*.whl
35+
- path: wheelhouse/bencoder*.whl

ci/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22
pip install twine
3-
twine upload -u whtsky -p $PYPI_PASSWORD wheelhouse/bencoder*.whl
3+
twine upload --username whtsky --password $PYPI_PASSWORD wheelhouse/bencoder*.whl

0 commit comments

Comments
 (0)