Fix deploy

This commit is contained in:
Grigori Goronzy
2017-09-19 10:28:12 +02:00
parent cfa0e39702
commit 771fb3361b

View File

@ -15,18 +15,19 @@ install:
script: script:
- python setup.py build - python setup.py build
- python setup.py test - python setup.py test
before_deploy:
- deactivate - deactivate
- python3 setup.py bdist_rpm - python3 setup.py bdist_rpm
- dpkg-buildpackage -uc -us - dpkg-buildpackage -uc -us
- cp ../*.deb dist/ - cp ../*.deb dist/
deploy: deploy:
python: "3.4"
provider: releases provider: releases
api_key: $GH_TOKEN api_key: $GH_TOKEN
file_glob: true file_glob: true
file: file:
- dist/stcgal*.deb - dist/stcgal*_all.deb
- dist/stcgal*.rpm - dist/stcgal*.noarch.rpm
skip_cleanup: true skip_cleanup: true
on: on:
tags: true tags: true
python: "3.4"