Skip to content
Snippets Groups Projects

CI script

Merged Eino Tuominen requested to merge develop into master
1 file
+ 12
6
Compare changes
  • Side-by-side
  • Inline
+ 12
6
---
before:
image: python:2
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip-cache"
cache:
paths:
- "$CI_PROJECT_DIR/pip-cache"
key: "$CI_PROJECT_ID"
test:
script:
- apt install python-pip
- pip install ansible
- ansible --version
- printf '[defaults]\nroles_path=../' >ansible.cfg
playbook:
script:
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
Loading