-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
29 lines (25 loc) · 843 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
language: "python"
python:
- "3.7"
env:
global:
- "ANSIBLE_CONFIG=tests/ansible.cfg"
- "openout_any=a"
# Install python packages for ansible and linters.
# Install a minimal TexLive installation for LaTeX support.
install:
- "make setup"
# Execute linting tests before running the main playbook.
# If any of these tasks fail, the entire build fails immediately.
# Also must specify the location of the ansible.cfg file as it is
# not in the role's top directory for cleanliness. Last, must
# ensure pdflatex will write output files where needed, basically
# disabling the paranoid behavior about output files.
before_script:
- "make lint"
# Run the role playbook with mock inputs to validate the role functionality.
# Mock inputs are stored as 'control' group variables in the inv.yml file.
script:
- "make test"
...