.gitlab-ci.yml 467 Bytes
Newer Older
1
2
default:
  image: python:3.7
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

stages:
  - lint
  - tests

before_script:
  - pip install tox

flake8:
  stage: lint
  script: tox -e flake8

check-manifest:
  stage: lint
  script: tox -e check-manifest

py3:
  stage: tests
  script: tox -e py3
22
23
24
  artifacts:
    paths:
      - py3-deprecated-warnings.json
25
26
27
28
29
30
31
32
33
34
35

yamllint:
  stage: lint
  rules:
    - changes:
        - "**/*.yaml"
        - "*.yaml"
        - "**/*.yml"
        - "*.yml"
  script:
    - tox -e yamllint