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