From 91cd85e0a10cc9ae72f102f9e5faf4525ca493e5 Mon Sep 17 00:00:00 2001 From: selfisekai Date: Sat, 31 Oct 2020 21:42:52 +0100 Subject: [PATCH 1/2] gitlab ci testing --- .gitlab-ci.yml | 155 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..9ab3671b0 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,155 @@ +default: + before_script: + - apk add bash + - pip install nose + +py2.7-core: + image: python:2.7 + variables: + YTDL_TEST_SET: core + before_script: + - pip install nose + script: + - ./devscripts/run_tests.sh + +py2.7-download: + image: python:2.7 + variables: + YTDL_TEST_SET: download + allow_failure: true + before_script: + - pip install nose + script: + - ./devscripts/run_tests.sh + +py3.2-core: + image: python:3.2 + variables: + YTDL_TEST_SET: core + before_script: + - pip install nose + script: + - ./devscripts/run_tests.sh + +py3.2-download: + image: python:3.2 + variables: + YTDL_TEST_SET: download + allow_failure: true + before_script: + - pip install nose + script: + - ./devscripts/run_tests.sh + +py3.3-core: + image: python:3.3-alpine + variables: + YTDL_TEST_SET: core + before_script: + - apk update + - apk add bash + - pip install nose + script: + - ./devscripts/run_tests.sh + +py3.3-download: + image: python:3.3-alpine + variables: + YTDL_TEST_SET: download + before_script: + - apk update + - apk add bash + - pip install nose + allow_failure: true + script: + - ./devscripts/run_tests.sh + +py3.4-core: + image: python:3.4-alpine + variables: + YTDL_TEST_SET: core + script: + - ./devscripts/run_tests.sh + +py3.4-download: + image: python:3.4-alpine + variables: + YTDL_TEST_SET: download + allow_failure: true + script: + - ./devscripts/run_tests.sh + +py3.5-core: + image: python:3.5-alpine + variables: + YTDL_TEST_SET: core + script: + - ./devscripts/run_tests.sh + +py3.5-download: + image: python:3.5-alpine + variables: + YTDL_TEST_SET: download + allow_failure: true + script: + - ./devscripts/run_tests.sh + +py3.6-core: + image: python:3.6-alpine + variables: + YTDL_TEST_SET: core + script: + - ./devscripts/run_tests.sh + +py3.6-download: + image: python:3.6-alpine + variables: + YTDL_TEST_SET: download + allow_failure: true + script: + - ./devscripts/run_tests.sh + +py3.7-core: + image: python:3.7-alpine + variables: + YTDL_TEST_SET: core + script: + - ./devscripts/run_tests.sh + +py3.7-download: + image: python:3.7-alpine + variables: + YTDL_TEST_SET: download + allow_failure: true + script: + - ./devscripts/run_tests.sh + +py3.8-core: + image: python:3.8-alpine + variables: + YTDL_TEST_SET: core + script: + - ./devscripts/run_tests.sh + +py3.8-download: + image: python:3.2-alpine + variables: + YTDL_TEST_SET: download + allow_failure: true + script: + - ./devscripts/run_tests.sh + +py3.9-core: + image: python:3.9-alpine + variables: + YTDL_TEST_SET: core + script: + - ./devscripts/run_tests.sh + +py3.9-download: + image: python:3.9-alpine + variables: + YTDL_TEST_SET: download + allow_failure: true + script: + - ./devscripts/run_tests.sh From 69ff3d887fe0d555ea32692a296cd8796ce47069 Mon Sep 17 00:00:00 2001 From: selfisekai Date: Sat, 31 Oct 2020 23:31:40 +0100 Subject: [PATCH 2/2] fix typo (CI) --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ab3671b0..67d637275 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -132,7 +132,7 @@ py3.8-core: - ./devscripts/run_tests.sh py3.8-download: - image: python:3.2-alpine + image: python:3.8-alpine variables: YTDL_TEST_SET: download allow_failure: true