Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.gitlab-ci.yml - dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7a95bc3e6d6a0579152411785135efe5bf0154ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
before_script:
  - sudo apt-get update -qq && sudo apt-get build-dep -y -qq python3-nbxmpp-nightly

stages:
  - test
  - build

run-test:
  stage: test
  script:
    - ./test/runtests.py

run-build:
  stage: build
  script:
    - rm -rf dist
    - export FN="nbxmpp-"$(date +%F)
    - python3 setup.py sdist
    - scp dist/nbxmpp-*.tar.gz panoramix:/var/www/gajim/downloads/snap/ci/$FN-$CI_COMMIT_SHA.tar.gz

  artifacts:
    name: "nbxmpp-$CI_COMMIT_SHA"
    expire_in: 1 week
    paths:
      - dist/nbxmpp-*.tar.gz