Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'yt_downloader' into 'development'
Suitable downloader for milestone #1 See merge request Javinator9889/YouTubeMDBot!3
- Loading branch information
Showing
24 changed files
with
2,517 additions
and
1,939 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# https://hub.docker.com/r/library/python/tags/ | ||
image: python:latest | ||
|
||
# Change pip's cache directory to be inside the project directory since we can | ||
# only cache local items. | ||
variables: | ||
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" | ||
|
||
# Pip's cache doesn't store the python packages | ||
# https://pip.pypa.io/en/stable/reference/pip_install/#caching | ||
# | ||
# If you want to also cache the installed packages, you have to install | ||
# them in a virtualenv and cache it as well. | ||
cache: | ||
paths: | ||
- .cache/pip | ||
- venv/ | ||
|
||
before_script: | ||
- python -V # Print out python version for debugging | ||
|
||
test:pylint: | ||
script: | ||
- pip install pylint | ||
- pylint -j 0 --exit-zero --ignored-classes=_socketobject *.py YouTubeMDBot | ||
|
||
test: | ||
script: | ||
- pip install -r YouTubeMDBot/requirements.txt | ||
- python -m unittest $(pwd)/YouTubeMDBot/tests/*.py |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Oops, something went wrong.