2018-01-10 23:46:32 +01:00
|
|
|
---
|
2019-08-03 12:53:21 +02:00
|
|
|
language: python
|
2018-04-14 00:24:09 +02:00
|
|
|
services:
|
|
|
|
- docker
|
2020-03-25 18:43:32 +01:00
|
|
|
jobs:
|
|
|
|
include:
|
2020-06-08 15:46:01 +02:00
|
|
|
- name: "Install Specific Version - Debian/Ubuntu"
|
|
|
|
env:
|
|
|
|
scenario: default
|
|
|
|
- name: "Install Specific Version - Alpine"
|
|
|
|
env:
|
|
|
|
scenario: default_alpine
|
|
|
|
- name: "Install Specific Version - CentOS"
|
|
|
|
env:
|
|
|
|
scenario: default_centos
|
|
|
|
- name: "Install Modules - Debian/Ubuntu"
|
|
|
|
env:
|
|
|
|
scenario: module
|
|
|
|
- name: "Install Modules - Alpine"
|
|
|
|
env:
|
|
|
|
scenario: module_alpine
|
|
|
|
- name: "Install Modules - CentOS"
|
|
|
|
env:
|
|
|
|
scenario: module_centos
|
|
|
|
- name: "Install Stable Branch and Push Configuration - Debian/Ubuntu"
|
|
|
|
env:
|
|
|
|
scenario: stable_push
|
|
|
|
- name: "Install Stable Branch and Push Configuration - Alpine"
|
|
|
|
env:
|
|
|
|
scenario: stable_push_alpine
|
|
|
|
- name: "Install Stable Branch and Push Configuration - CentOS"
|
|
|
|
env:
|
|
|
|
scenario: stable_push_centos
|
|
|
|
- name: "Use Template Setting - Debian/Ubuntu"
|
|
|
|
env:
|
|
|
|
scenario: template
|
|
|
|
- name: "Use Template Setting - Alpine"
|
|
|
|
env:
|
|
|
|
scenario: template_alpine
|
|
|
|
- name: "Use Template Setting - CentOS"
|
|
|
|
env:
|
|
|
|
scenario: template_centos
|
|
|
|
- name: "Install Unit - Debian/Ubuntu"
|
|
|
|
env:
|
|
|
|
scenario: unit
|
|
|
|
- name: "Install Unit - Alpine"
|
|
|
|
env:
|
|
|
|
scenario: unit_alpine
|
|
|
|
- name: "Install Unit - CentOS"
|
|
|
|
env:
|
|
|
|
scenario: unit_centos
|
|
|
|
- name: "Install from Source - Debian/Ubuntu"
|
|
|
|
env:
|
|
|
|
scenario: source
|
|
|
|
- name: "Install from Source - Alpine"
|
|
|
|
env:
|
|
|
|
scenario: source_alpine
|
|
|
|
- name: "Install from Source - CentOS"
|
|
|
|
env:
|
|
|
|
scenario: source_centos
|
2018-04-14 00:24:09 +02:00
|
|
|
before_install:
|
2019-08-03 12:53:21 +02:00
|
|
|
- sudo apt-get -qq update
|
|
|
|
install:
|
2020-06-08 15:46:01 +02:00
|
|
|
- pip install ansible==2.9.9
|
|
|
|
- pip install molecule[docker]==3.0.4
|
2020-03-25 18:43:32 +01:00
|
|
|
- pip install testinfra
|
|
|
|
- pip install ansible-lint
|
|
|
|
- pip install flake8
|
2018-01-10 23:46:32 +01:00
|
|
|
script:
|
2020-03-25 18:43:32 +01:00
|
|
|
- molecule --version
|
|
|
|
- ansible --version
|
2019-11-24 02:10:55 +01:00
|
|
|
- travis_wait 50 molecule test -s $scenario
|
2018-01-10 23:46:32 +01:00
|
|
|
notifications:
|
|
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|