Fix up deployment

This commit is contained in:
Grigori Goronzy 2017-09-18 17:50:35 +02:00
parent e9f66d8874
commit c23ed8f996

View File

@ -2,13 +2,12 @@ sudo: required
dist: trusty
language: python
cache:
directories:
- "$HOME/.cache/pip"
- pip
python:
- 3.4
- 3.5
- 3.6
- pypy3
- "3.4"
- "3.5"
- "3.6"
- "pypy3"
before_install:
- sudo apt install rpm dpkg-dev debhelper dh-python
install:
@ -18,12 +17,15 @@ script:
- python setup.py test
- python setup.py bdist_rpm
- python setup.py bdist
- cp ../*.deb dist/
deploy:
python: "3.5"
provider: releases
api_key: $GH_TOKEN
file_glob: true
file:
- ../stcgal*.deb
- ../stcgal*.rpm
- dist/stcgal*.deb
- dist/stcgal*.rpm
skip_cleanup: true
on:
tags: true