.gitlab-ci.yml 626 Bytes
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
py3-from-forge:
15
  stage: tests
16
17
  script: tox -e py3-from-forge

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

trigger-other-pipelines:
  stage: after-tests
  script:
25
  - "if [ -z \"${TRIGGERED_FROM_OTHER_PROJECT}\" ]; then curl -X POST -F \"variables[TRIGGERED_FROM_OTHER_PROJECT]=true\" -F token=$CUBICWEB_PIPELINE_TRIGGER_TOKEN -F ref=branch/default -F \"variables[TRIGGERED_FROM_OTHER_PROJECT]=true\" https://forge.extranet.logilab.fr/api/v4/projects/385/trigger/pipeline; fi"