Testing travis-ci

This commit is contained in:
Dieter Verhelst 2019-03-10 21:11:12 +01:00
parent b9c18aa1fd
commit d7a2b04413
2 changed files with 15 additions and 0 deletions

13
.travis-ci.yml Normal file
View File

@ -0,0 +1,13 @@
---
sudo: required
language: python
services:
- docker
before_install:
- sudo apt-get -qq update
install:
- pip install molecule
- pip install ansible==2.7
- pip install docker
script:
- molecule test --scenario-name folders

View File

@ -9,6 +9,8 @@ platforms:
image: debian:stretch image: debian:stretch
networks: networks:
- name: ${MOLECULE_SCENARIO_NAME}-borg - name: ${MOLECULE_SCENARIO_NAME}-borg
groups:
- lamp
- name: ${MOLECULE_SCENARIO_NAME}-sds - name: ${MOLECULE_SCENARIO_NAME}-sds
hostname: ${MOLECULE_SCENARIO_NAME}-sds hostname: ${MOLECULE_SCENARIO_NAME}-sds
image: debian:stretch image: debian:stretch