Philipp Hörist pushed to branch gajim_1.1 at gajim / gajim

Commits:

1 changed file:

Changes:

  • .gitlab-ci.yml deleted
    1
    -before_script:
    
    2
    -  - sudo apt-get update -qq && sudo apt-get install -y -qq libtool pkg-config gir1.2-gtk-3.0 python3-gi python3-cairo
    
    3
    -  - sudo apt-get build-dep -y -qq gajim-default-nightly
    
    4
    -
    
    5
    -stages:
    
    6
    -  - test
    
    7
    -  - build
    
    8
    -
    
    9
    -run-tests:
    
    10
    -  stage: test
    
    11
    -  script:
    
    12
    -    - rm -rf civenv-master
    
    13
    -    - virtualenv -p python3 --system-site-packages civenv
    
    14
    -    - . ./civenv/bin/activate
    
    15
    -    - pip3 install -I mypy
    
    16
    -    - pip3 install -I nbxmpp==0.6.10
    
    17
    -    - pip3 install -I pylint==2.1.1
    
    18
    -    - mypy gajim
    
    19
    -    - scripts/dev/pylint-ci.sh --jobs=2 gajim
    
    20
    -    - python3 setup.py test -s test.no_gui
    
    21
    -    - deactivate
    
    22
    -    - rm -rf civenv-master
    
    23
    -
    
    24
    -run-appdata:
    
    25
    -  stage: test
    
    26
    -  script:
    
    27
    -    - appstream-util validate data/org.gajim.Gajim.appdata.xml.in
    
    28
    -
    
    29
    -run-build:
    
    30
    -  stage: build
    
    31
    -  script:
    
    32
    -    - python3 setup.py sdist
    
    33
    -    - cd dist
    
    34
    -    - export FN="gajim-default-"$(date +%F)".tar"
    
    35
    -    - mv gajim-*.tar.gz $FN.gz
    
    36
    -    - mkdir tmp_add_plugins
    
    37
    -    - mv $FN.gz tmp_add_plugins/
    
    38
    -    - cd tmp_add_plugins/
    
    39
    -    - tar xzf $FN.gz
    
    40
    -    - rm $FN.gz
    
    41
    -    - export GF=$(find . -maxdepth 1 -type d -name 'gajim-*')
    
    42
    -    - mkdir -p $GF/gajim/data/plugins/
    
    43
    -    - cd $GF/gajim/data/plugins/
    
    44
    -    - curl -O https://ftp.gajim.org/plugins_1/plugin_installer.zip
    
    45
    -    - unzip plugin_installer.zip
    
    46
    -    - rm plugin_installer.zip
    
    47
    -    - cd ../../../..
    
    48
    -    - tar czf ../$FN.gz gajim-*
    
    49
    -    - cd ..
    
    50
    -    - rm -rf tmp_add_plugins
    
    51
    -    - scp $FN.gz panoramix:/var/www/gajim/downloads/snap/ci/gajim-default-$CI_COMMIT_SHA.tar.gz
    
    52
    -
    
    53
    -  artifacts:
    
    54
    -    name: "gajim-default-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA"
    
    55
    -    expire_in: 1 week
    
    56
    -    paths:
    
    57
    -      - gajim-default-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA.tar.gz