forked from PowerDNS/pdns_recursor-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (30 loc) · 788 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
30
31
32
33
34
35
36
37
38
---
language: python
python:
- "2.7"
- "3.6"
sudo: required
# Enable the docker service
services:
- docker
# Replace aufs with the vfs docker storage driver
# to prevent systemd to fail starting docker in docker.
before_install:
- sudo sed -i 's|DOCKER_OPTS=.*|DOCKER_OPTS="-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock --storage-driver vfs"|g' /etc/default/docker
- sudo service docker restart
- docker info
# Parallel testing of the supported
# Ansible versions
env:
matrix:
- ANSIBLE=2.7
- ANSIBLE=2.8
- ANSIBLE=2.9
# Install tox
install:
- pip install tox-travis
# Test the current PowerDNS Recursor stable release
script:
- tox -- molecule test -s pdns-rec-42
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/