Skip to content

Commit b814187

Browse files
committed
fix script path since this feature is buggy
1 parent 6ab5a9c commit b814187

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

.travis.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ sudo: required
1010
env:
1111
global:
1212
# TODO Update this to match the name of your project.
13-
- CRATE_NAME=rust_pypi_example
13+
- CRATE_NAME: rust_pypi_example
1414
# Rust release. E.g. Stable, nightly, nightly-2014-12-18
15-
- RUSTRELEASE=stable
16-
- RUSTCOMPILER=RUSTUP
15+
- RUSTRELEASE: stable
16+
- RUSTCOMPILER: RUSTUP
1717
- TWINE_USERNAME: mckaymatt
18-
- TWINE_PASSWORD:
19-
secure: "cV0xWgAdwhI7cxK4JHKeFEdaOxo1k3Yb3iYhJ9ybd9Jq5823AW+wuuDxq/9PINUpcyPUdQfuVKnKi9r8BD7M0paGmj1iIaVmsQ7zq4Z6QLYQynZwJUajNeylEUsix42NhWEpZXl8Yd2jF0or7TstfU1GBIi89E5LSGjUxeJQyJT7jzm3lKZ3rjwa5Qr2F6SXpLy/dtZWFd0b+XH0WdqgbdFH23iQMpsdrTJL5yXBcdK8bwePhEBDViqcwJGICC5OI1vY1oWEbXsgq5sTOnk2AD9MtstUhMT7i2bNwe0Yjr7LH6phQRrcIAuPu+jgVVrh5Baq564fnoih3dJQr5R/hczXVvAxtOn9jTX6HUxiLkp0zWCmmDcYfoGi5Muj6hBMP6jYnNaChe/cFSHwUgXVYId90zN8MpcvSuZGXJ8rs7Ktt/bsqvczAfS+axCiHpWmQEaqedszRKMJTFGjXsFgA5/glHwwjLAtFd7Cz6IZ2aXu3lkxB5vym+gAVA6Qjh4CslpgAQ5fS1hFEavZ41OJgrzwrlyIV9iqCBosTr0PolB1TYsYGwKZq1UZPMGEDoQ1IxkBwS0vDoFkBDTaJg/t1y7Itnv8WBvYLKl8Werf6wI0vya+BnknSzSvn+hH1ATEtR5NGSWVjTrbp6S+hzosSuryrZPNytMIGCSUn4o2W8Y="
18+
- secure: Q94OKGYoeYE7HV8xTAwjf0qxw72+6hI14wAMhMfALkpWgtsWVyUdIJPTWm5s1WJrWdeZmSNK1oQjALBLV9yD1DNZgHw8lC/nTI2qY7ywpRUmrVHfeSy5YKbzeIeHC1gNLWQhq1Mc9vF7x2LWE2pI/6NuDP5uRx0NrnKw64z0P/kDGDKPDQ8kgOq8kayTSzaibMk4iNxv2h91PnWelYiKo0OluRahEYzyvl29NilmVgfJ3jpcC78nuJe4622vfVBhmGps3bZHC8D+7qSvU6TiFe/S+fXLdebe/SCujwUhSOSgsvl4YzLvUe2FFftOG5NJRwJa6EqkQRZ+1JmVO2OA5g3Mg93Tb+aDT/j597YQJYz5hDpuQTLjvsQEjbtSlDZoaNo5OeXkiutflgGXNj7NvOGNYfEvGeNb1dqsbEQyIG6aBFZy4yMWgXILjTZmH0tYpsshGPFL+yIH5aXGsbIt918F9tazy1IuSPcwcmaL1tEhsM5ETn4n1P7X1jY9yHCsg5i8RYWhF6SsHn0L/UTg2+y4nJ3odWtlXzf9BWAo1c/frhC7BJDea09vgplfeIERYuQIGDcZP5LhGkxE+gZc8MEAj9UvryjOuv/znO+1irSRV4xi4H9Yvsy/tbpWnM3Qedy9ekt1PpMgolHNoKXKh2PKPp4uJc/c12LtNNU4x7s=
2019

2120
matrix:
2221
include:
@@ -112,8 +111,6 @@ install:
112111
script:
113112
- bash ci/script.sh
114113

115-
after_script: set +e
116-
117114
before_deploy:
118115
- python -m pip install -Uq twine urllib3[secure]
119116

@@ -125,7 +122,7 @@ deploy:
125122
# this is for pypi. Will fail if you haven't run
126123
# "python -m twine register ... " to register with pypi
127124
- provider: script
128-
script: python -m twine upload wheelhouse/rust_pypi_example*.whl
125+
script: python -m twine upload $(find wheelhouse/ -type f -name '*.whl')
129126
on:
130127
tags: true
131128
- provider: releases

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.0 (2017-06-18)
5+
0.7.1 (2017-06-18)
66
------------------
77

88
* First release on PyPI.

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)