Skip to content

Commit 1926698

Browse files
committed
This might be insanity [publish]
1 parent 397b011 commit 1926698

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ before_script:
5252

5353
script:
5454
- python test/visual.py -q
55-
- if [[ $(uname -s) == 'Linux' ]]; then
56-
echo "[bdist_wheel]" >> setup.cfg;
57-
echo "universal = 1" >> setup.cfg;
58-
fi;
5955
- if [[ ${COMMIT_MESSAGE} =~ "[publish]" ]]; then
6056
python setup.py bdist_wheel;
57+
if [[ $(uname -s) == 'Linux' ]]; then
58+
export PRE_DISTS='dist/*.whl';
59+
rename 's/linux_x86_64/any/;' $PRE_DISTS;
60+
fi;
6161
export DISTS='dist/*';
6262
$(pwd)/mason_packages/.link/bin/twine upload -u $PYPI_USER -p $PYPI_PASSWORD $DISTS ;
6363
fi;

0 commit comments

Comments
 (0)