Travis CI improvements (#37840)

This commit is contained in:
Ville Skyttä 2020-07-14 10:29:56 +03:00 committed by GitHub
parent 81914258e9
commit 22f17a1887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 6 deletions

View File

@ -1,4 +1,3 @@
sudo: false
dist: bionic
addons:
apt:
@ -14,7 +13,17 @@ addons:
sources:
- sourceline: ppa:savoury1/ffmpeg4
matrix:
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:
fast_finish: true
include:
- python: "3.7.1"
@ -23,13 +32,11 @@ matrix:
env: TOXENV=pylint PYLINT_ARGS=--jobs=0 TRAVIS_WAIT=30
- python: "3.7.1"
env: TOXENV=typing
- python: "3.7.1"
env: TOXENV=py37
cache:
pip: true
directories:
- $HOME/.cache/pre-commit
install: pip install -U tox
install: pip install -U tox tox-travis
language: python
script: ${TRAVIS_WAIT:+travis_wait $TRAVIS_WAIT} tox --develop
script: ${TRAVIS_WAIT:+travis_wait $TRAVIS_WAIT} tox --develop ${TOX_ARGS-}