.gitlab-ci.yml 997 Bytes
Newer Older
Nicolas Chauvat's avatar
Nicolas Chauvat committed
1
---
Fabien Amarger's avatar
Fabien Amarger committed
2
default:
Nicolas Chauvat's avatar
Nicolas Chauvat committed
3
  image: python:3.7
Fabien Amarger's avatar
Fabien Amarger committed
4

Nicolas Chauvat's avatar
Nicolas Chauvat committed
5
6
7
8
9
10
11
12
include:
  # uncomment and uses to customize/extend the configuration here if needed
  # (it needs to be at the same level than "- project")
  # - ".gitlab-ci-extended.yml"
  - project: "open-source/gitlab-ci-templates"
    ref: "branch/default"
    file:
      - "templates/no-duplicated-ci-pipelines.yml"  # use workflow to avoid duplicated pipelines
Nicolas Chauvat's avatar
Nicolas Chauvat committed
13
      - "templates/lint/black.yml"
Nicolas Chauvat's avatar
Nicolas Chauvat committed
14
15
16
17
      - "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'
      - "templates/lint/yamllint.yml"  # will do the equivalent of 'tox -e yamllint'
      - "templates/tests/py3.yml"  # will do the equivalent of 'tox -e py3'
18
      - "templates/create-release-on-heptapod.yml"
Nicolas Chauvat's avatar
Nicolas Chauvat committed
19
      - "templates/upload-to-pypi.yml"  # on a new mercurial tag (expected to be done with release-new), will push a release on pypi
Fabien Amarger's avatar
Fabien Amarger committed
20
21
22
23

stages:
  - lint
  - tests
Nicolas Chauvat's avatar
Nicolas Chauvat committed
24
25
  - release
  - publish