.gitlab-ci.yml 1.31 KB
Newer Older
1
2
image: python

3
4
5
6
stages:
  - tests
  - after-tests

7
8
9
10
before_script:
  - pip install tox

py3:
11
  stage: tests
12
13
  script: tox -e py3

14
15
16
17
flake8:
  stage: tests
  script: tox -e flake8

18
check-manifest:
19
  stage: tests
20
21
22
  script: tox -e check-manifest

black:
23
  stage: tests
24
25
26
  script: tox -e black

mypy:
27
  stage: tests
28
  script: tox -e mypy
29
30
31
32
33
34
35
36
37
38

trigger-other-pipelines:
  stage: after-tests
  script:
    - "curl -X POST -F token=$CUBICWEB_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/385/trigger/pipeline"
    - "curl -X POST -F token=$RQL_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/300/trigger/pipeline"
    - "curl -X POST -F token=$YAMS_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/352/trigger/pipeline"
    - "curl -X POST -F token=$LOGILAB_CONSTRAINT_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/409/trigger/pipeline"
    - "curl -X POST -F token=$LOGILAB_MTCONVERTER_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/410/trigger/pipeline"
    - "curl -X POST -F token=$LOGILAB_DATABASE_PIPELINE_TRIGGER_TOKEN -F ref=branch/default https://forge.extranet.logilab.fr/api/v4/projects/248/trigger/pipeline"