Skip to content

Commit 3a60211

Browse files
author
Dane Springmeyer
committed
fix travis syntax
1 parent 6e9aa0a commit 3a60211

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.travis.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,15 @@ before_script:
9292

9393
script:
9494
- python test/visual.py -q
95-
- if [[ ${COMMIT_MESSAGE} =~ "[publish]" ]]; then
96-
python setup.py bdist_wheel;
97-
if [[ $(uname -s) == 'Linux' ]]; then
98-
export PRE_DISTS='dist/*.whl';
99-
rename 's/linux_x86_64/any/;' $PRE_DISTS;
100-
fi
101-
export DISTS='dist/*';
102-
$(pwd)/mason_packages/.link/bin/twine upload -u $PYPI_USER -p $PYPI_PASSWORD $DISTS ;
95+
- |
96+
if [[ ${COMMIT_MESSAGE} =~ "[publish]" ]]; then
97+
python setup.py bdist_wheel
98+
if [[ $(uname -s) == 'Linux' ]]; then
99+
export PRE_DISTS='dist/*.whl'
100+
rename 's/linux_x86_64/any/;' $PRE_DISTS
101+
fi
102+
export DISTS='dist/*'
103+
$(pwd)/mason_packages/.link/bin/twine upload -u $PYPI_USER -p $PYPI_PASSWORD $DISTS
103104
fi
104105
105106

0 commit comments

Comments
 (0)