Disable virtualenv for packaging

This commit is contained in:
Grigori Goronzy 2017-09-18 23:32:21 +02:00
parent 43887a9189
commit cfa0e39702

View File

@ -9,17 +9,18 @@ python:
- "3.6" - "3.6"
- "pypy3" - "pypy3"
before_install: before_install:
- sudo apt install rpm dpkg-dev debhelper dh-python python3-setuptools fakeroot - sudo apt install rpm dpkg-dev debhelper dh-python python3-setuptools fakeroot python3-serial python3-yaml
install: install:
- pip install pyserial pyusb - pip install pyserial pyusb
script: script:
- python setup.py build - python setup.py build
- python setup.py test - python setup.py test
- python setup.py bdist_rpm - deactivate
- dpkg-buildpackage - python3 setup.py bdist_rpm
- dpkg-buildpackage -uc -us
- cp ../*.deb dist/ - cp ../*.deb dist/
deploy: deploy:
python: "3.5" python: "3.4"
provider: releases provider: releases
api_key: $GH_TOKEN api_key: $GH_TOKEN
file_glob: true file_glob: true