Skip to content

Commit 31d6061

Browse files
committed
Add travis wheel uploads
1 parent 83f20a9 commit 31d6061

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ env:
55
- CIBW_TEST_REQUIRES="nose2"
66
- CIBW_TEST_COMMAND="cd {project}/test && nose2"
77
- CIBW_SKIP="cp33-* cp34-*"
8-
8+
- TWINE_USERNAME=mmatl
9+
910
matrix:
1011
include:
1112
- dist: trusty
@@ -25,3 +26,8 @@ install:
2526

2627
script:
2728
- cibuildwheel --output-dir wheelhouse
29+
- |
30+
if [[ $TRAVIS_TAG ]]; then
31+
python -m pip install twine
32+
python -m twine upload wheelhouse/*.whl
33+
fi

0 commit comments

Comments
 (0)