ansible-collection-famedly-.../.gitlab-ci.yml
2019-02-18 00:41:46 +01:00

24 lines
475 B
YAML

---
# -*- coding: utf-8 -*-
before_script:
- apt-get update -qy
- apt-get install -y python-dev python-pip
- git submodule update --init
- pip install --upgrade ansible ansible-lint
- ansible --version
- ansible-lint --version
stages:
- ansible-lint
- ansible-syntax-check
ansible-lint-pip:
stage: ansible-lint
script:
- ansible-lint tests/test-pip.yml
ansible-lint-docker:
stage: ansible-lint
script:
- ansible-lint tests/test-docker.yml