mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-12-15 05:32:26 +00:00
25 lines
477 B
YAML
25 lines
477 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-docker
|
||
|
script:
|
||
|
- ansible-lint tests/test-docker.yml
|