Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
771fb3361b | ||
|
cfa0e39702 | ||
|
43887a9189 | ||
|
c400641684 | ||
|
353f28cdc8 | ||
|
c23ed8f996 | ||
|
e9f66d8874 | ||
|
e27e7bedcb | ||
|
3c180ff8dc | ||
|
0dbca5c163 | ||
|
079affc4f3 |
33
.travis.yml
Normal file
33
.travis.yml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
sudo: required
|
||||||
|
dist: trusty
|
||||||
|
language: python
|
||||||
|
cache:
|
||||||
|
- pip
|
||||||
|
python:
|
||||||
|
- "3.4"
|
||||||
|
- "3.5"
|
||||||
|
- "3.6"
|
||||||
|
- "pypy3"
|
||||||
|
before_install:
|
||||||
|
- sudo apt install rpm dpkg-dev debhelper dh-python python3-setuptools fakeroot python3-serial python3-yaml
|
||||||
|
install:
|
||||||
|
- pip install pyserial pyusb
|
||||||
|
script:
|
||||||
|
- python setup.py build
|
||||||
|
- python setup.py test
|
||||||
|
before_deploy:
|
||||||
|
- deactivate
|
||||||
|
- python3 setup.py bdist_rpm
|
||||||
|
- dpkg-buildpackage -uc -us
|
||||||
|
- cp ../*.deb dist/
|
||||||
|
deploy:
|
||||||
|
provider: releases
|
||||||
|
api_key: $GH_TOKEN
|
||||||
|
file_glob: true
|
||||||
|
file:
|
||||||
|
- dist/stcgal*_all.deb
|
||||||
|
- dist/stcgal*.noarch.rpm
|
||||||
|
skip_cleanup: true
|
||||||
|
on:
|
||||||
|
tags: true
|
||||||
|
python: "3.4"
|
Loading…
Reference in New Issue
Block a user