stcgal/.travis.yml

30 lines
495 B
YAML
Raw Normal View History

2017-09-18 16:47:16 +02:00
sudo: required
dist: trusty
2017-09-18 15:53:26 +02:00
language: python
2017-09-18 16:06:12 +02:00
cache:
directories:
- "$HOME/.cache/pip"
2017-09-18 15:53:26 +02:00
python:
2017-09-18 15:57:12 +02:00
- 3.4
2017-09-18 16:47:16 +02:00
- 3.5
2017-09-18 15:53:26 +02:00
- 3.6
2017-09-18 16:12:47 +02:00
- pypy3
2017-09-18 16:47:16 +02:00
before_install:
- sudo apt install rpm dpkg-dev debhelper dh-python
2017-09-18 15:53:26 +02:00
install:
- pip install pyserial pyusb
script:
- python setup.py build
- python setup.py test
2017-09-18 16:47:16 +02:00
- python setup.py bdist_rpm
- python setup.py bdist
deploy:
provider: releases
api_key: $GH_TOKEN
file:
- ../stcgal*.deb
- ../stcgal*.rpm
skip_cleanup: true
on:
tags: true