Skip to content

Commit 6b6dd52

Browse files
committed
refractor
1 parent d5fd823 commit 6b6dd52

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

.docs/README_template.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
pathlib3x
22
=========
33

4-
Version v1.3.7 as of 2020-08-01, see `Changelog`_.
4+
5+
Version v1.3.7 as of 2020-08-01 see `Changelog`_
56

67

78
.. include:: ./badges.rst

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ matrix:
5858
- export BUILD_DOCS="False"
5959
- export DEPLOY_SDIST="False"
6060
- export DEPLOY_WHEEL="False"
61-
- export DEPLOY_TEST="True"
61+
- export DEPLOY_TEST="False"
6262
- export MYPY_STRICT="True"
6363

6464

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
pathlib3x
22
=========
33

4-
Version v1.3.7 as of 2020-08-01, see `Changelog`_.
4+
5+
Version v1.3.7 as of 2020-08-01 see `Changelog`_
56

67
|travis_build| |license| |pypi|
78

setup.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,8 @@
1313

1414

1515
def is_travis_deploy() -> bool:
16-
if 'DEPLOY' not in os.environ:
17-
return False
18-
if os.environ['DEPLOY'].lower() == 'true' and is_tagged_commit():
19-
return True
20-
else:
21-
return False
16+
if os.getenv('DEPLOY_SDIST', '') or os.getenv('DEPLOY_WHEEL', ''):
17+
return is_tagged_commit()
2218

2319

2420
def is_tagged_commit() -> bool:

0 commit comments

Comments
 (0)