2019-12-07 06:34:46 +00:00
|
|
|
dist: bionic
|
2019-04-27 10:30:24 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-08-17 07:50:21 +00:00
|
|
|
- ffmpeg
|
2019-04-27 10:30:24 +00:00
|
|
|
- libudev-dev
|
|
|
|
- libavformat-dev
|
|
|
|
- libavcodec-dev
|
|
|
|
- libavdevice-dev
|
|
|
|
- libavutil-dev
|
|
|
|
- libswscale-dev
|
|
|
|
- libswresample-dev
|
|
|
|
- libavfilter-dev
|
2020-05-02 21:52:29 +00:00
|
|
|
sources:
|
|
|
|
- sourceline: ppa:savoury1/ffmpeg4
|
2020-07-26 13:56:00 +00:00
|
|
|
- sourceline: ppa:savoury1/multimedia
|
2020-05-02 21:52:29 +00:00
|
|
|
|
2020-07-14 07:29:56 +00:00
|
|
|
python:
|
|
|
|
- "3.7.1"
|
|
|
|
- "3.8"
|
|
|
|
|
|
|
|
env:
|
|
|
|
- TOX_ARGS="-- --test-group-count 4 --test-group 1"
|
|
|
|
- TOX_ARGS="-- --test-group-count 4 --test-group 2"
|
|
|
|
- TOX_ARGS="-- --test-group-count 4 --test-group 3"
|
|
|
|
- TOX_ARGS="-- --test-group-count 4 --test-group 4"
|
|
|
|
|
|
|
|
jobs:
|
2019-04-27 10:30:24 +00:00
|
|
|
fast_finish: true
|
|
|
|
include:
|
2020-07-13 22:45:10 +00:00
|
|
|
- python: "3.7.1"
|
2019-04-27 10:30:24 +00:00
|
|
|
env: TOXENV=lint
|
2020-07-13 22:45:10 +00:00
|
|
|
- python: "3.7.1"
|
2020-08-29 05:59:24 +00:00
|
|
|
# PYLINT_ARGS=--jobs=0 disabled for now: https://github.com/PyCQA/pylint/issues/3584
|
|
|
|
env: TOXENV=pylint TRAVIS_WAIT=30
|
2020-07-13 22:45:10 +00:00
|
|
|
- python: "3.7.1"
|
2019-04-27 10:30:24 +00:00
|
|
|
env: TOXENV=typing
|
|
|
|
|
2019-10-18 19:20:27 +00:00
|
|
|
cache:
|
|
|
|
pip: true
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pre-commit
|
2020-07-14 07:29:56 +00:00
|
|
|
install: pip install -U tox tox-travis
|
2019-04-27 10:30:24 +00:00
|
|
|
language: python
|
2020-07-14 07:29:56 +00:00
|
|
|
script: ${TRAVIS_WAIT:+travis_wait $TRAVIS_WAIT} tox --develop ${TOX_ARGS-}
|