* initial commit of streams * refactor stream component * refactor so stream formats are not considered a platform * initial test and minor refactor * fix linting * update requirements * need av in tests as well * fix import in class def vs method * fix travis and docker builds * address code review comments * fix logger, add stream start/stop logs, listen to HASS stop * address additional code review comments * beef up tests * fix tests * fix lint * add stream_source to onvif camera * address pr comments * add keepalive to camera play_stream service * remove keepalive and move import * implement registry and have output provider remove itself from stream after idle, set libav log level to error
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
sudo: false
|
|
dist: xenial
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: "ppa:jonathonf/ffmpeg-4"
|
|
packages:
|
|
- libudev-dev
|
|
- libavformat-dev
|
|
- libavcodec-dev
|
|
- libavdevice-dev
|
|
- libavutil-dev
|
|
- libswscale-dev
|
|
- libswresample-dev
|
|
- libavfilter-dev
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- python: "3.5.3"
|
|
env: TOXENV=lint
|
|
- python: "3.5.3"
|
|
env: TOXENV=pylint
|
|
- python: "3.5.3"
|
|
env: TOXENV=typing
|
|
- python: "3.5.3"
|
|
env: TOXENV=cov
|
|
after_success: coveralls
|
|
- python: "3.6"
|
|
env: TOXENV=py36
|
|
- python: "3.7"
|
|
env: TOXENV=py37
|
|
- python: "3.8-dev"
|
|
env: TOXENV=py38
|
|
if: branch = dev AND type = push
|
|
allow_failures:
|
|
- python: "3.8-dev"
|
|
env: TOXENV=py38
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip
|
|
install: pip install -U tox coveralls
|
|
language: python
|
|
script: travis_wait 40 tox --develop
|
|
services:
|
|
- docker
|
|
before_deploy:
|
|
- docker pull lokalise/lokalise-cli@sha256:2198814ebddfda56ee041a4b427521757dd57f75415ea9693696a64c550cef21
|
|
deploy:
|
|
skip_cleanup: true
|
|
provider: script
|
|
script: script/travis_deploy
|
|
on:
|
|
branch: dev
|
|
condition: $TOXENV = lint
|