diff options
author | Gaƫtan <36162164+gaetanfl@users.noreply.github.com> | 2018-02-23 18:10:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-23 18:10:48 +0100 |
commit | 4fdd3eb566b8b322789f74990181acc243ffb578 (patch) | |
tree | 4f0e9ffda46afe5e571d7071dd8e08c34a5b8928 /.travis.yml | |
parent | 4882b0d33ce42a3b01ac9689d1809e362f314d3f (diff) | |
parent | 8692bc2704f2a38890c93577e8f6743e611d5308 (diff) | |
download | ansible-clever-4fdd3eb566b8b322789f74990181acc243ffb578.tar.gz ansible-clever-4fdd3eb566b8b322789f74990181acc243ffb578.tar.zst ansible-clever-4fdd3eb566b8b322789f74990181acc243ffb578.zip |
Merge pull request #1 from gaetanfl/first_try
Migrating single tasks file to a galaxy role
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..49e7e1c --- /dev/null +++ b/.travis.yml | |||
@@ -0,0 +1,29 @@ | |||
1 | --- | ||
2 | language: python | ||
3 | python: "2.7" | ||
4 | |||
5 | # Use the new container infrastructure | ||
6 | sudo: false | ||
7 | |||
8 | # Install ansible | ||
9 | addons: | ||
10 | apt: | ||
11 | packages: | ||
12 | - python-pip | ||
13 | |||
14 | install: | ||
15 | # Install ansible | ||
16 | - pip install ansible | ||
17 | |||
18 | # Check ansible version | ||
19 | - ansible --version | ||
20 | |||
21 | # Create ansible.cfg with correct roles_path | ||
22 | - printf '[defaults]\nroles_path=../' >ansible.cfg | ||
23 | |||
24 | script: | ||
25 | # Basic role syntax check | ||
26 | - ansible-playbook tests/test.yml -i tests/inventory --syntax-check | ||
27 | |||
28 | notifications: | ||
29 | webhooks: https://galaxy.ansible.com/api/v1/notifications/ | ||