test: add tavis-ci to run tests

This commit is contained in:
Adrien Waksberg 2018-11-25 10:26:46 +01:00
parent 50836886c1
commit 289e2d34e6
3 changed files with 23 additions and 0 deletions

21
.travis.yml Normal file
View file

@ -0,0 +1,21 @@
sudo: required
language: ruby
env:
- ANSIBLE_VERSION=2.4
- ANSIBLE_VERSION=2.5
- ANSIBLE_VERSION=2.6
- ANSIBLE_VERSION=2.7
services:
- docker
before_install:
- bundle install
script:
- kitchen conv certbot-debian-9
- kitchen conv certbot-debian-9 | grep changed=0
- kitchen verify certbot-debian-9
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/

View file

@ -6,6 +6,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
## [Unreleased]
- fix: replace inline module to cron for renew cron
- test: use new docker images
- test: add tavis-ci to run tests
## [2.0.0] 2018-07-07
- add renew hook script

View file

@ -1,5 +1,6 @@
# Ansible role: Certbot
[![Version](https://img.shields.io/badge/latest_version-2.0.0-green.svg)](https://git.yaegashi.fr/nishiki/ansible-role-certbot/releases)
[![Build Status](https://travis-ci.org/nishiki/ansible-role-certbot.svg?branch=master)](https://travis-ci.org/nishiki/ansible-role-certbot)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://git.yaegashi.fr/nishiki/ansible-role-certbot/src/branch/master/LICENSE)
Generate certificate SSL with certbot.