Commit 0af40757 authored by Philipp Hörist's avatar Philipp Hörist

Stop running CI

parent d3465a76
before_script:
- sudo apt-get update -qq && sudo apt-get install -y -qq libtool pkg-config gir1.2-gtk-3.0 gir1.2-soup-2.4 python3-gi python3-cairo
- sudo apt-get build-dep -y -qq gajim-default-nightly
stages:
- test
- build
run-tests:
stage: test
script:
- rm -rf civenv-master
- virtualenv -p python3 --system-site-packages civenv
- . ./civenv/bin/activate
- pip3 install -I mypy
- pip3 install -I git+https://dev.gajim.org/gajim/python-nbxmpp.git@master
- pip3 install -I pylint==2.4.4
- pip3 install -I codespell
- mypy -V
- mypy gajim
- scripts/dev/pylint-ci.sh --jobs=2 gajim
- python3 -m unittest discover -s test/no_gui -v
- codespell -I codespell.conf --skip="*__pycache__*,gajim/data/icons,gajim/data/sounds,gajim/data/emoticons" gajim
- deactivate
- rm -rf civenv-master
run-appdata:
stage: test
script:
- appstream-util validate data/org.gajim.Gajim.appdata.xml.in
run-build:
stage: build
script:
- python3 setup.py sdist
- cd dist
- GF=$(basename gajim-* .tar.gz)
- gzip -d $GF.tar.gz
- mkdir -p $GF/gajim/data/plugins/
- curl -O https://ftp.gajim.org/plugins_1/plugin_installer.zip
- unzip plugin_installer.zip -d $GF/gajim/data/plugins/
- rm plugin_installer.zip
- tar -uf $GF.tar $GF
- gzip $GF.tar
artifacts:
name: "gajim-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA"
expire_in: 1 week
paths:
- dist/gajim-*.tar.gz
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment