aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
blob: 3c719bebf559b310399e837f76147953c9e8c0f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
kind: pipeline
name: default

steps:
- name: test
  image: debian:bullseye
  commands:
    - apt update -y
    - apt install -y python3-pip jython
    - pip3 install nose flake8
    # Core
    - export YTDL_TEST_SET=core
    - export JYTHON=true;
    - bash ./devscripts/run_tests.sh || true
    # Download
    - export YTDL_TEST_SET=download
    - export JYTHON=true;
    - bash ./devscripts/run_tests.sh || true
    # Check syntax
    - flake8 .