From c174b83f5408124fc7834e8282969a1e8f9cca16 Mon Sep 17 00:00:00 2001 From: Anders Melchiorsen Date: Sat, 27 Apr 2019 12:30:24 +0200 Subject: [PATCH] Return of travis (#23409) * Return .travis.yml This reverts commit a5b03541e90a7ff7aff9f4b26573879c9c1de3fa. * Remove coveralls * Remove deploy * Support only the extreme Python versions * Ignore bleeding edge * Remove docker service --- .travis.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000000..8e0162f7fff --- /dev/null +++ b/.travis.yml @@ -0,0 +1,35 @@ +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=py35 + - python: "3.7" + env: TOXENV=py37 + +cache: + directories: + - $HOME/.cache/pip +install: pip install -U tox +language: python +script: travis_wait 40 tox --develop