ansible-role-nginx/.travis.yml

75 lines
2.3 KiB
YAML
Raw Normal View History

2018-01-10 23:46:32 +01:00
---
language: python
2020-08-19 18:39:17 +02:00
services: docker
jobs:
include:
2020-08-19 18:39:17 +02:00
- name: "(Debian/Ubuntu) Install Specific Version"
2020-06-08 15:46:01 +02:00
env:
scenario: default
2020-08-19 18:39:17 +02:00
- name: "(Alpine) Install Specific Version"
2020-06-08 15:46:01 +02:00
env:
scenario: default_alpine
2020-08-19 18:39:17 +02:00
- name: "(CentOS) Install Specific Version"
2020-06-08 15:46:01 +02:00
env:
scenario: default_centos
2020-08-19 18:39:17 +02:00
- name: "(Debian/Ubuntu) Install Modules"
2020-06-08 15:46:01 +02:00
env:
scenario: module
2020-08-19 18:39:17 +02:00
- name: "(Alpine) Install Modules"
2020-06-08 15:46:01 +02:00
env:
scenario: module_alpine
2020-08-19 18:39:17 +02:00
- name: "(CentOS) Install Modules"
2020-06-08 15:46:01 +02:00
env:
scenario: module_centos
2020-08-19 18:39:17 +02:00
- name: "(Debian/Ubuntu) Install Stable Branch and Push Configuration"
2020-06-08 15:46:01 +02:00
env:
scenario: stable_push
2020-08-19 18:39:17 +02:00
- name: "(Alpine) Install Stable Branch and Push Configuration"
2020-06-08 15:46:01 +02:00
env:
scenario: stable_push_alpine
2020-08-19 18:39:17 +02:00
- name: "(CentOS) Install Stable Branch and Push Configuration"
2020-06-08 15:46:01 +02:00
env:
scenario: stable_push_centos
2020-08-19 18:39:17 +02:00
- name: "(Debian/Ubuntu) Use Template Setting"
2020-06-08 15:46:01 +02:00
env:
scenario: template
2020-08-19 18:39:17 +02:00
- name: "(Alpine) Use Template Setting"
2020-06-08 15:46:01 +02:00
env:
scenario: template_alpine
2020-08-19 18:39:17 +02:00
- name: "(CentOS) Use Template Setting"
2020-06-08 15:46:01 +02:00
env:
scenario: template_centos
2020-08-19 18:39:17 +02:00
- name: "(Debian/Ubuntu) Install NGINX Unit"
2020-06-08 15:46:01 +02:00
env:
scenario: unit
2020-08-19 18:39:17 +02:00
- name: "(Alpine) Install NGINX Unit"
2020-06-08 15:46:01 +02:00
env:
scenario: unit_alpine
2020-08-19 18:39:17 +02:00
- name: "(CentOS) Install NGINX Unit"
2020-06-08 15:46:01 +02:00
env:
scenario: unit_centos
2020-08-19 18:39:17 +02:00
- name: "(Debian/Ubuntu) Install from Source"
2020-06-08 15:46:01 +02:00
env:
scenario: source
2020-08-19 18:39:17 +02:00
- name: "(Alpine) Install from Source"
2020-06-08 15:46:01 +02:00
env:
scenario: source_alpine
2020-08-19 18:39:17 +02:00
- name: "(CentOS) Install from Source"
2020-06-08 15:46:01 +02:00
env:
scenario: source_centos
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
install:
2020-09-03 14:23:01 +02:00
- pip install ansible==2.9.13
- pip install ansible-lint==4.3.4
2020-09-09 16:10:42 +02:00
- pip install yamllint==1.24.2
- pip install molecule==3.0.8
- pip install docker==4.3.1
2018-01-10 23:46:32 +01:00
script:
- travis_wait 50 molecule test -s $scenario
2018-01-10 23:46:32 +01:00
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/