.gitlab-ci.yml 851 Bytes
Newer Older
1
---
2
3
default:
  image: python:3.7
4

5
include:
6
  - ".gitlab-ci-extended.yml"
7
8
9
10
11
12
13
14
15
16
17
  - 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/yamllint.yml"  # will do the equivalent of 'tox -e yamllint'
      - "templates/tests/py27.yml"  # will do the equivalent of 'tox -e py27'
      - "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

18
19
20
stages:
  - lint
  - tests
21
22
  - release
  - publish