diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..8cbf5df --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,33 @@ +image: debian:sid + +before_script: +- apt-get update -y +- apt-get install -y python3-pip jython virtualenv + +test_core: + script: + - virtualenv -p python3 venv + - source venv/bin/activate + - python --version + - pip install nose + - export YTDL_TEST_SET=core + - export JYTHON=true; + - bash ./devscripts/run_tests.sh || true + +test_download: + script: + - virtualenv -p python3 venv + - source venv/bin/activate + - python --version + - pip install nose + - export YTDL_TEST_SET=download + - export JYTHON=true; + - bash ./devscripts/run_tests.sh || true + +test_flake8: + script: + - virtualenv -p python3 venv + - source venv/bin/activate + - python --version + - pip install flake8 + - flake8 . |