]> git.immae.eu Git - github/fretlink/ansible-postgresql-role.git/blob - .travis.yml
7a72289e592acf3b57890195c94e72d9bba027cb
[github/fretlink/ansible-postgresql-role.git] / .travis.yml
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
19 - ansible-galaxy install -r test/requirements.yml -p test/roles/
20
21 script:
22 # Basic role syntax check
23 - ansible-playbook test/main.yml -i test/hosts --syntax-check
24
25 notifications:
26 webhooks: https://galaxy.ansible.com/api/v1/notifications/