Skip to content

Commit 7c21bd2

Browse files
committed
.travis config to run the molecule tests
1 parent 7a53b11 commit 7c21bd2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
sudo: required
3+
4+
language: python
5+
6+
services:
7+
- docker
8+
9+
install:
10+
# molecule version >v2.22 required for compatibility with ansible >2.8
11+
- pip install molecule==2.22
12+
# Note: ansible 2.9.0 is buggy, see the README
13+
#- pip install ansible==2.8.2
14+
- pip install ansible==2.9.1
15+
- pip install docker
16+
script:
17+
- molecule test
18+
# TODO test more scenarios (multi-node !?)
19+
#- molecule test --scenario-name xxx
20+
21+
notifications:
22+
webhooks: https://galaxy.ansible.com/api/v1/notifications/

0 commit comments

Comments
 (0)