.gitlab-ci.yml 895 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
image: fedora:rawhide
stages:
  - check
  - build
  - deploy

variables:
  DEPENDENCIES: python3 gobject-introspection-devel gtk3-devel libmediaart-devel grilo-devel

build:
  stage: build
  script:
13
    - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
14 15 16 17 18 19 20
    - git submodule update --init
    - ./autogen.sh
    - make

deploy:
  stage: deploy
  script:
21
    - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
22 23 24 25 26 27 28 29 30
    - git submodule update --init
    - ./autogen.sh
    - make distcheck
  only:
    - tags

pyflakes:
  stage: check
  script:
31
    - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck python3-pyflakes
32 33 34 35 36
    - python3-pyflakes .

pep8:
  stage: check
  script:
37
    - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck python3-pep8
38 39
    - python3-pep8 --ignore=E501,E225,E265,E402 --show-source --show-pep8 .
  allow_failure: true