Skip to content

Commit e796a89

Browse files
committed
.travis.yml: limit twine python version
Signed-off-by: Huang Rui <[email protected]>
1 parent c3d6a13 commit e796a89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ script:
1313
- pylint --enable=E --disable=W,R,C *.py
1414
- python setup.py sdist
1515
- python setup.py bdist
16-
- twine check dist/*
16+
- [[ $(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') == 2.7 ]] && twine check dist/*
17+
- [[ $(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') == 3.9 ]] && twine check dist/*
1718

1819
deploy:
1920
provider: pypi

0 commit comments

Comments
 (0)