Skip to content

Commit 2cca70b

Browse files
committed
Prevent extra log prints of setup.py
1 parent 37d280c commit 2cca70b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: .travis.yml

+7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@ script:
77
- tox -e devruntime
88
- tox
99
- tox -e docs
10+
11+
# First invocation of setup.py script may print extra log messages as well as
12+
# a version number. The below invocation ensures that its following (second)
13+
# invocation (for comparing to $TRAVIS_TAG) does not print any extra log
14+
# messages other than a version number.
15+
- python setup.py --version
1016
- '[[ "$TRAVIS_TAG" = "" ]] || [[ "$TRAVIS_TAG" = "$(python setup.py --version)" ]]'
17+
1118
# Ensure changelog was written:
1219
- |
1320
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then

0 commit comments

Comments
 (0)