ansible-role-nginx/.travis.yml

75 lines
2.0 KiB
YAML
Raw Normal View History

2018-01-10 23:46:32 +01:00
---
language: python
services:
- docker
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
before_install:
- 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
- pip install testinfra
- pip install ansible-lint
- pip install flake8
2018-01-10 23:46:32 +01:00
script:
- molecule --version
- ansible --version
- travis_wait 50 molecule test -s $scenario
2018-01-10 23:46:32 +01:00
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/