-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
44 lines (33 loc) · 818 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
39
40
41
42
43
44
---
language: python
# Spin off separate builds for each of the following versions of Ansible
env:
- ANSIBLE_VERSION=2.5
- ANSIBLE_VERSION=2.6
- ANSIBLE_VERSION=2.7
- ANSIBLE_VERSION=2.8
- ANSIBLE_VERSION=2.9
- ANSIBLE_VERSION=2.10
# Require the standard build environment
sudo: required
# Require Docker
services:
- docker
# Cache Ansible and Molecule to speed things up
cache:
- pip
install:
# Install Ansible
- pip install "ansible~=$ANSIBLE_VERSION"
- pip install docker molecule[docker]
# Check Ansible version
- ansible --version
# Check Molecule version
- molecule --version
# Build the Docker images
- molecule --debug create
- molecule --debug destroy
script:
- molecule --debug test
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/