Skip to content

Commit 14bf7a9

Browse files
committed
FIX: grab version info only
1 parent 9c38a59 commit 14bf7a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ script:
6666
INTENDED_VERSION="$(python setup.py --version)"
6767
mkdir for_testing
6868
cd for_testing
69-
INSTALLED_VERSION="$(python -c 'import templateflow; print(templateflow.__version__)')"
69+
INSTALLED_VERSION="$(python -c 'import templateflow; print(templateflow.__version__)' | tail -1)"
7070
python -c 'import templateflow; print(templateflow.__file__)'
7171
echo "Intended: $INTENDED_VERSION"
7272
echo "Installed: $INSTALLED_VERSION"

0 commit comments

Comments
 (0)