This commit is contained in:
Christian Clauss 2020-10-24 01:13:42 +09:00 committed by GitHub
commit cb4ecaec0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 27 deletions

View File

@ -1,49 +1,55 @@
os: linux
dist: xenial
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9-dev"
- "pypy"
- "pypy3"
dist: trusty
env:
- YTDL_TEST_SET=core
- YTDL_TEST_SET=download
jobs:
include:
- python: 3.7
dist: xenial
env: YTDL_TEST_SET=core
- python: 3.7
dist: xenial
env: YTDL_TEST_SET=download
- python: 3.8
dist: xenial
env: YTDL_TEST_SET=core
- python: 3.8
dist: xenial
env: YTDL_TEST_SET=download
- python: 3.8-dev
dist: xenial
env: YTDL_TEST_SET=core
- python: 3.8-dev
dist: xenial
env: YTDL_TEST_SET=download
- env: JYTHON=true; YTDL_TEST_SET=core
- env: JYTHON=true; YTDL_TEST_SET=download
- name: flake8
python: 3.8
dist: xenial
install: pip install flake8
script: flake8 .
- python: 2.6 # test end of life veersions of Python on end of life distro Trusty
dist: trusty
env: YTDL_TEST_SET=core
- python: 2.6
dist: trusty
env: YTDL_TEST_SET=download
- python: 3.2
dist: trusty
env: YTDL_TEST_SET=core
- python: 3.2
dist: trusty
env: YTDL_TEST_SET=download
- python: 3.3
dist: trusty
env: YTDL_TEST_SET=core
- python: 3.3
dist: trusty
env: YTDL_TEST_SET=download
- python: 3.4
dist: trusty
env: YTDL_TEST_SET=core
- python: 3.4
dist: trusty
env: YTDL_TEST_SET=download
- env: JYTHON=true; YTDL_TEST_SET=core
dist: trusty
- env: JYTHON=true; YTDL_TEST_SET=download
dist: trusty
fast_finish: true
allow_failures:
- env: YTDL_TEST_SET=download
- env: JYTHON=true; YTDL_TEST_SET=core
- env: JYTHON=true; YTDL_TEST_SET=download
before_install:
- if [ "$JYTHON" == "true" ]; then ./devscripts/install_jython.sh; export PATH="$HOME/jython/bin:$PATH"; fi