2020-09-27 21:33:16 +02:00
|
|
|
os: linux
|
|
|
|
dist: xenial
|
2012-10-15 10:37:33 +02:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
2015-09-25 22:34:02 +02:00
|
|
|
- "3.5"
|
2017-02-04 20:41:22 +01:00
|
|
|
- "3.6"
|
2020-09-27 21:33:16 +02:00
|
|
|
- "3.7"
|
|
|
|
- "3.8"
|
|
|
|
- "3.9-dev"
|
2018-01-01 15:54:28 +01:00
|
|
|
- "pypy"
|
|
|
|
- "pypy3"
|
2017-02-04 21:33:23 +01:00
|
|
|
env:
|
|
|
|
- YTDL_TEST_SET=core
|
|
|
|
- YTDL_TEST_SET=download
|
2020-01-14 19:09:08 +01:00
|
|
|
jobs:
|
2018-01-01 17:21:39 +01:00
|
|
|
include:
|
2020-01-14 19:09:08 +01:00
|
|
|
- name: flake8
|
|
|
|
python: 3.8
|
|
|
|
install: pip install flake8
|
|
|
|
script: flake8 .
|
2020-09-27 21:46:45 +02:00
|
|
|
- python: 2.6 # test end of life veersions of Python on end of life distro Trusty
|
2020-09-27 21:33:16 +02:00
|
|
|
dist: trusty
|
2020-09-27 21:46:45 +02:00
|
|
|
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
|
2020-09-27 21:33:16 +02:00
|
|
|
- python: 3.2
|
|
|
|
dist: trusty
|
2020-09-27 21:46:45 +02:00
|
|
|
env: YTDL_TEST_SET=download
|
|
|
|
- python: 3.3
|
|
|
|
dist: trusty
|
|
|
|
env: YTDL_TEST_SET=core
|
|
|
|
- python: 3.3
|
2020-09-27 21:33:16 +02:00
|
|
|
dist: trusty
|
2020-09-27 21:46:45 +02:00
|
|
|
env: YTDL_TEST_SET=download
|
2020-09-27 21:33:16 +02:00
|
|
|
- python: 3.4
|
|
|
|
dist: trusty
|
2020-09-27 21:46:45 +02:00
|
|
|
env: YTDL_TEST_SET=core
|
|
|
|
- python: 3.4
|
|
|
|
dist: trusty
|
|
|
|
env: YTDL_TEST_SET=download
|
2020-09-27 21:33:16 +02:00
|
|
|
- env: JYTHON=true; YTDL_TEST_SET=core
|
|
|
|
dist: trusty
|
|
|
|
- env: JYTHON=true; YTDL_TEST_SET=download
|
|
|
|
dist: trusty
|
2017-10-20 20:32:01 +02:00
|
|
|
fast_finish: true
|
|
|
|
allow_failures:
|
|
|
|
- env: YTDL_TEST_SET=download
|
2018-01-01 17:21:39 +01:00
|
|
|
before_install:
|
|
|
|
- if [ "$JYTHON" == "true" ]; then ./devscripts/install_jython.sh; export PATH="$HOME/jython/bin:$PATH"; fi
|
2017-02-04 21:33:23 +01:00
|
|
|
script: ./devscripts/run_tests.sh
|