Skip to content

Commit 4ea7007

Browse files
committed
.travis.yml: fix syntax error
Signed-off-by: Huang Rui <[email protected]>
1 parent e796a89 commit 4ea7007

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

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

1919
deploy:
2020
provider: pypi

0 commit comments

Comments
 (0)