]>
Commit | Line | Data |
---|---|---|
d0bc90e0 P |
1 | --- |
2 | language: python | |
3 | python: "3.5" | |
4 | ||
5 | # Use the new container infrastructure | |
6 | sudo: false | |
7 | ||
8 | # Install pip | |
9 | addons: | |
10 | apt: | |
11 | packages: | |
12 | - python-pip | |
13 | ||
14 | install: | |
15 | # Install ansible | |
16 | - pip install ansible | |
17 | # Check ansible version | |
18 | - ansible --version | |
c4606fce | 19 | - ansible-galaxy install -r test/requirements.yml -p test/roles/ |
d0bc90e0 P |
20 | |
21 | script: | |
22 | # Basic role syntax check | |
c4606fce | 23 | - ansible-playbook test/main.yml -i test/hosts --syntax-check |
d0bc90e0 P |
24 | |
25 | notifications: | |
26 | webhooks: https://galaxy.ansible.com/api/v1/notifications/ |