ansible-role-nginx/.travis.yml
2020-06-08 15:46:01 +02:00

75 lines
2.0 KiB
YAML

---
language: python
services:
- docker
jobs:
include:
- 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
before_install:
- sudo apt-get -qq update
install:
- pip install ansible==2.9.9
- pip install molecule[docker]==3.0.4
- pip install testinfra
- pip install ansible-lint
- pip install flake8
script:
- molecule --version
- ansible --version
- travis_wait 50 molecule test -s $scenario
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/