.gitlab-ci.yml 742 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
before_script:
  - export LANG="C.UTF-8"
  - export LC_ALL="C.UTF-8"
  - export LC_CTYPE="C.UTF-8"
  - apt-get update -qy
  - apt-get install -y python3 python3-dev python3-pip build-essential ffmpeg libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev zlib1g-dev
  - apt-get install -y libgstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good
  - apt-get install ffmpeg
  - pip3 install pipenv
  - pipenv install --dev --skip-lock

pylint:
  type: test
  script:
15 16
    - pipenv run pylint main
    - pipenv run pylint settings
17 18 19 20 21
    - pipenv run pylint modules

pytest:
  type: test
  script:
22
    - pipenv run pytest tests
23
    - pipenv run pytest --cov=modules