Philipp Hörist pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • .gitlab-ci.yml deleted
    1
    -workflow:
    
    2
    -  rules:
    
    3
    -    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
    
    4
    -      when: never
    
    5
    -    - when: always
    
    6
    -
    
    7
    -stages:
    
    8
    -  - test
    
    9
    -  - build
    
    10
    -
    
    11
    -Code Quality:
    
    12
    -  stage: test
    
    13
    -  rules:
    
    14
    -    - if: '$CI_PIPELINE_SOURCE == "schedule"'
    
    15
    -      when: never
    
    16
    -    - when: always
    
    17
    -  script:
    
    18
    -    - rm -rf civenv
    
    19
    -    - virtualenv -p python3 --system-site-packages civenv
    
    20
    -    - . ./civenv/bin/activate
    
    21
    -    - pip3 install -I mypy
    
    22
    -    - pip3 install -I git+https://dev.gajim.org/gajim/python-nbxmpp.git@master
    
    23
    -    - pip3 install -I pylint==2.4.4
    
    24
    -    - pip3 install -I codespell
    
    25
    -    - pip3 install -I coverage
    
    26
    -    - pip3 install -I css-parser
    
    27
    -    - pip3 install -I keyring
    
    28
    -    - pip3 install -I packaging
    
    29
    -    - pip3 install -I precis-i18n
    
    30
    -    - pip3 install -I pyOpenSSL
    
    31
    -    - mypy -V
    
    32
    -    - mypy gajim
    
    33
    -    - scripts/ci/pylint.sh --jobs=2 gajim
    
    34
    -    - coverage run --source=gajim -m unittest discover -s test/no_gui -v
    
    35
    -    - coverage report -mi
    
    36
    -    - coverage xml -i
    
    37
    -    - codespell -I codespell.conf --skip="*__pycache__*,gajim/data/icons,gajim/data/sounds,gajim/data/emoticons" gajim
    
    38
    -    - deactivate
    
    39
    -    - rm -rf civenv
    
    40
    -  coverage: "/TOTAL.+ ([0-9]{1,3}%)/"
    
    41
    -  artifacts:
    
    42
    -    reports:
    
    43
    -      cobertura: coverage.xml
    
    44
    -  interruptible: true
    
    45
    -
    
    46
    -appdata.xml:
    
    47
    -  stage: test
    
    48
    -  rules:
    
    49
    -    - if: '$CI_PIPELINE_SOURCE == "schedule"'
    
    50
    -      when: never
    
    51
    -    - when: always
    
    52
    -  script:
    
    53
    -    - python3 setup.py build
    
    54
    -    - appstream-util validate build/data/org.gajim.Gajim.appdata.xml
    
    55
    -  interruptible: true
    
    56
    -
    
    57
    -Linux:
    
    58
    -  stage: build
    
    59
    -  rules:
    
    60
    -    - if: '$CI_PIPELINE_SOURCE == "schedule"'
    
    61
    -      when: never
    
    62
    -    - when: always
    
    63
    -  script:
    
    64
    -    - ./scripts/ci/sdist.py
    
    65
    -
    
    66
    -  artifacts:
    
    67
    -    name: "gajim-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA"
    
    68
    -    expire_in: 1 week
    
    69
    -    paths:
    
    70
    -      - dist/gajim-*.tar.gz
    
    71
    -  interruptible: true
    
    72
    -
    
    73
    -Windows:
    
    74
    -  stage: build
    
    75
    -  rules:
    
    76
    -    - if: '$CI_PIPELINE_SOURCE == "schedule"'
    
    77
    -  script:
    
    78
    -    - ./scripts/ci/appveyor.py