aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 8cbf5df66f6afa288c5f39bbd8f568c0cbd14f20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 .