2012-10-15 08:37:33 +00:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.6"
|
|
|
|
- "2.7"
|
2015-03-06 09:44:24 +00:00
|
|
|
- "3.2"
|
2012-12-20 12:48:39 +00:00
|
|
|
- "3.3"
|
2014-05-12 03:13:22 +00:00
|
|
|
- "3.4"
|
2015-09-25 20:34:02 +00:00
|
|
|
- "3.5"
|
2017-02-04 19:41:22 +00:00
|
|
|
- "3.6"
|
2018-01-01 14:54:28 +00:00
|
|
|
- "pypy"
|
|
|
|
- "pypy3"
|
2019-05-22 23:06:49 +00:00
|
|
|
dist: trusty
|
2017-02-04 20:33:23 +00:00
|
|
|
env:
|
|
|
|
- YTDL_TEST_SET=core
|
|
|
|
- YTDL_TEST_SET=download
|
2020-01-14 18:09:08 +00:00
|
|
|
jobs:
|
2018-01-01 16:21:39 +00:00
|
|
|
include:
|
2018-11-21 19:01:22 +00:00
|
|
|
- python: 3.7
|
|
|
|
dist: xenial
|
|
|
|
env: YTDL_TEST_SET=core
|
|
|
|
- python: 3.7
|
|
|
|
dist: xenial
|
|
|
|
env: YTDL_TEST_SET=download
|
2019-11-16 00:47:23 +00:00
|
|
|
- python: 3.8
|
|
|
|
dist: xenial
|
|
|
|
env: YTDL_TEST_SET=core
|
|
|
|
- python: 3.8
|
|
|
|
dist: xenial
|
|
|
|
env: YTDL_TEST_SET=download
|
2018-11-21 19:34:35 +00:00
|
|
|
- python: 3.8-dev
|
|
|
|
dist: xenial
|
|
|
|
env: YTDL_TEST_SET=core
|
|
|
|
- python: 3.8-dev
|
|
|
|
dist: xenial
|
|
|
|
env: YTDL_TEST_SET=download
|
2018-01-01 16:21:39 +00:00
|
|
|
- env: JYTHON=true; YTDL_TEST_SET=core
|
|
|
|
- env: JYTHON=true; YTDL_TEST_SET=download
|
2020-01-14 18:09:08 +00:00
|
|
|
- name: flake8
|
|
|
|
python: 3.8
|
|
|
|
dist: xenial
|
|
|
|
install: pip install flake8
|
|
|
|
script: flake8 .
|
2017-10-20 18:32:01 +00:00
|
|
|
fast_finish: true
|
|
|
|
allow_failures:
|
|
|
|
- env: YTDL_TEST_SET=download
|
2018-01-01 16:21:39 +00:00
|
|
|
- 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
|
2017-02-04 20:33:23 +00:00
|
|
|
script: ./devscripts/run_tests.sh
|