Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .travis.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -131,6 +131,12 @@ jobs:
- cmd.exe //c "RefreshEnv.cmd"
if: type != pull_request AND (branch = master OR (tag =~ /^.*-scylla$/))

- name: Source Distribution (sdist)
python: 3.8
script:
- python3 setup.py sdist
if: type != pull_request AND (branch = master OR (tag =~ /^.*-scylla$/))

install:
- python3 -m pip install cibuildwheel==1.3.0

Expand All@@ -144,5 +150,10 @@ after_script:
- |
if [[ $TRAVIS_TAG =~ .*-scylla ]]; then
python3 -m pip install twine
python3 -m twine upload wheelhouse/*.whl
if compgen -G "wheelhouse/*.whl" > /dev/null; then
python3 -m twine upload wheelhouse/*.whl
fi
if compgen -G "dist/*.tar.gz" > /dev/null; then
python3 -m twine upload dist/*.tar.gz
fi
fi