Skip to content

Commit

Permalink
Generate sdists on Linux instead of OSX, fixes #67
Browse files Browse the repository at this point in the history
  • Loading branch information
sbraz committed Apr 1, 2019
1 parent e13e451 commit e0b94dc
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,14 @@ notifications:
on_success: change
on_failure: change
after_success: |
if [[ $TRAVIS_OS_NAME == osx && $TRAVIS_TAG && $MB_PYTHON_VERSION == 3.7 ]]; then
python setup.py sdist
python setup.py bdist_wheel
if [[ $TRAVIS_TAG ]]; then
if [[ $TRAVIS_OS_NAME == osx && $MB_PYTHON_VERSION == 3.7 ]]; then
python setup.py bdist_wheel
elif [[ $TRAVIS_OS_NAME == linux && $TRAVIS_PYTHON_VERSION == 3.7 ]]; then
# sdists generated on OSX have a problem with the accented test file
# https://github.com/sbraz/pymediainfo/issues/67
python setup.py sdist
fi
pip install twine
twine upload --skip-existing -u sbraz dist/*
fi
Expand Down

0 comments on commit e0b94dc

Please sign in to comment.