Compare commits

...

11 Commits

Author SHA1 Message Date
Grigori Goronzy
771fb3361b Fix deploy 2017-09-19 10:28:12 +02:00
Grigori Goronzy
cfa0e39702 Disable virtualenv for packaging 2017-09-18 23:32:21 +02:00
Grigori Goronzy
43887a9189 Add setuptools 2017-09-18 20:20:22 +02:00
Grigori Goronzy
c400641684 Fix DEB again 2017-09-18 19:27:47 +02:00
Grigori Goronzy
353f28cdc8 Fix DEB 2017-09-18 18:10:32 +02:00
Grigori Goronzy
c23ed8f996 Fix up deployment 2017-09-18 17:50:35 +02:00
Grigori Goronzy
e9f66d8874 Add deployment (DEB/RPM) 2017-09-18 16:47:16 +02:00
Grigori Goronzy
e27e7bedcb Add pypy to CI 2017-09-18 16:12:47 +02:00
Grigori Goronzy
3c180ff8dc Add image and cache 2017-09-18 16:06:12 +02:00
Grigori Goronzy
0dbca5c163 Add additional Python version 2017-09-18 15:59:54 +02:00
Grigori Goronzy
079affc4f3 Add basic Travis CI configuration 2017-09-18 15:53:26 +02:00
2 changed files with 35 additions and 0 deletions

33
.travis.yml Normal file
View 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"

View File

@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/grigorig/stcgal.svg)](https://travis-ci.org/grigorig/stcgal)
stcgal - STC MCU ISP flash tool stcgal - STC MCU ISP flash tool
=============================== ===============================