.gitlab-ci.yml 859 Bytes
Newer Older
Noé Gaumont's avatar
Noé Gaumont committed
1
2
3
4
5
6
7
8
9
10
11
---
default:
  image: python:3.7

include:
  - project: "open-source/gitlab-ci-templates"
    ref: "branch/default"
    file:
      - "templates/no-duplicated-ci-pipelines.yml" # use workflow to avoid duplicated pipelines
      - "templates/lint/flake8.yml" # will do the equivalent of 'tox -e flake8'
      - "templates/lint/check-manifest.yml" # will do the equivalent of 'tox -e check-manifest'
Noé Gaumont's avatar
Noé Gaumont committed
12
      - "templates/lint/black.yml" # will do the equivalent of 'tox -e black'
Noé Gaumont's avatar
Noé Gaumont committed
13
14
15
      - "templates/tests/py3.yml" # will do the equivalent of 'tox -e py3'
      - "templates/create-release-on-heptapod.yml" # this will create a release on heptapod
      - "templates/upload-to-pypi.yml" # on a new mercurial tag (expected to be done with release-new), will push a release on pypi
16
  # - ".gitlab-ci-extended.yml"
Noé Gaumont's avatar
Noé Gaumont committed
17
18
19
20
21
22

stages:
  - lint
  - tests
  - release
  - publish