Skip to content
Snippets Groups Projects
.gitlab-ci.yml 287 B
---
image: python:3.6

stages:
  - lint

yamllint:
  stage: lint
  script:
    - pip install yamllint==1.15.0
    - yamllint -c .yamllint.yml .
  allow_failure: true

ansible-lint:
  stage: lint
  script:
    - pip install ansible-lint
    - ansible-lint *.yml
  allow_failure: true
...