]> git.immae.eu Git - github/fretlink/ansible-postgresql-role.git/blame - .travis.yml
tests: adding a database creation with extensions
[github/fretlink/ansible-postgresql-role.git] / .travis.yml
CommitLineData
d0bc90e0
P
1---
2language: python
3python: "3.5"
4
5# Use the new container infrastructure
6sudo: false
7
8# Install pip
9addons:
10 apt:
11 packages:
12 - python-pip
13
14install:
15 # Install ansible
dd54b748 16 - pip install ansible docker-py docker
d0bc90e0
P
17 # Check ansible version
18 - ansible --version
c4606fce 19 - ansible-galaxy install -r test/requirements.yml -p test/roles/
d0bc90e0
P
20
21script:
22 # Basic role syntax check
c4606fce 23 - ansible-playbook test/main.yml -i test/hosts --syntax-check
dd54b748
P
24 # Run the tests
25 - ansible-playbook test/main.yml -i test/hosts
d0bc90e0
P
26
27notifications:
28 webhooks: https://galaxy.ansible.com/api/v1/notifications/