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:
script:
- apt install python-pip
- pip install ansible
- pip install ansible
- ansible --version
- ansible --version
- printf '[defaults]\nroles_path=../' >ansible.cfg
- printf '[defaults]\nroles_path=../' >ansible.cfg
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
playbook:
script:
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
Loading