Skip to content
Snippets Groups Projects
Commit 5d6e47d6 authored by inso's avatar inso
Browse files

Build wheel

parent 5a74e263
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ deploy:
file:
- sakia-${TRAVIS_OS_NAME}.deb
- sakia-${TRAVIS_OS_NAME}.zip
- sakia-${TRAVIS_TAG}-py3-none-any.whl
skip_cleanup: true
on:
tags: true
......
......@@ -2,10 +2,10 @@
if [ $TRAVIS_OS_NAME == "osx" ]
then
zip -r sakia-${TRAVIS_OS_NAME}.zip dist/
zip -r sakia-${TRAVIS_OS_NAME}.zip dist/sakia.app/
elif [ $TRAVIS_OS_NAME == "linux" ]
then
zip -r sakia-${TRAVIS_OS_NAME}.zip dist/
zip -r sakia-${TRAVIS_OS_NAME}.zip dist/sakia/
# Debian package
chmod 755 ci/travis/debian/DEBIAN/post*
......
......@@ -12,6 +12,7 @@ pyenv rehash
pip install coveralls
pip install pytest-cov
pip install pyinstaller==3.3.1
pip install wheel
pip install -r requirements.txt
if [ $TRAVIS_OS_NAME == "linux" ]
then
......@@ -40,4 +41,5 @@ elif [ $TRAVIS_OS_NAME == "linux" ]
then
pyinstaller sakia.spec
rm -f dist/sakia/libdrm.so.2
python setup.py bdist_wheel
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment