test: add tests with travis-ci
This commit is contained in:
parent
81dbd84f8a
commit
219dcc5c19
4 changed files with 32 additions and 1 deletions
28
.travis.yml
Normal file
28
.travis.yml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
sudo: required
|
||||||
|
language: ruby
|
||||||
|
|
||||||
|
env:
|
||||||
|
- ANSIBLE_VERSION=2.5
|
||||||
|
- ANSIBLE_VERSION=2.6
|
||||||
|
- ANSIBLE_VERSION=2.7
|
||||||
|
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- bundle install
|
||||||
|
- sudo pip install --upgrade pip
|
||||||
|
- sudo pip install yamllint
|
||||||
|
- sudo pip install ansible-lint
|
||||||
|
- git clone https://github.com/ansible/galaxy-lint-rules.git
|
||||||
|
|
||||||
|
script:
|
||||||
|
- kitchen conv
|
||||||
|
- kitchen conv | grep changed=0
|
||||||
|
- kitchen verify
|
||||||
|
- ansible-lint -r galaxy-lint-rules/rules .
|
||||||
|
- yamllint .
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
|
@ -6,6 +6,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
- fix: add client-server option in default configuration
|
- fix: add client-server option in default configuration
|
||||||
- fix: install python-mysqldb package
|
- fix: install python-mysqldb package
|
||||||
|
- test: add tests with travis-ci
|
||||||
|
|
||||||
## [v1.0.0] - 2019-02-23
|
## [v1.0.0] - 2019-02-23
|
||||||
- first version
|
- first version
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# Ansible role: MariaDB
|
# Ansible role: MariaDB
|
||||||
[![Version](https://img.shields.io/badge/latest_version-1.0.0-green.svg)](https://git.yaegashi.fr/nishiki/ansible-role-mariadb/releases)
|
[![Version](https://img.shields.io/badge/latest_version-1.0.0-green.svg)](https://git.yaegashi.fr/nishiki/ansible-role-mariadb/releases)
|
||||||
|
[![Build Status](https://travis-ci.org/nishiki/ansible-role-mariadb.svg?branch=master)](https://travis-ci.org/nishiki/ansible-role-mariadb)
|
||||||
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://git.yaegashi.fr/nishiki/ansible-role-mariadb/src/branch/master/LICENSE)
|
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://git.yaegashi.fr/nishiki/ansible-role-mariadb/src/branch/master/LICENSE)
|
||||||
|
|
||||||
Install and configure MariaDB
|
Install and configure MariaDB
|
||||||
|
|
|
@ -3,7 +3,7 @@ galaxy_info:
|
||||||
role_name: mariadb
|
role_name: mariadb
|
||||||
author: Adrien Waksberg
|
author: Adrien Waksberg
|
||||||
company: Adrien Waksberg
|
company: Adrien Waksberg
|
||||||
description: Install and configure mysql
|
description: Install and configure mariadb
|
||||||
license: Apache2
|
license: Apache2
|
||||||
min_ansible_version: 2.7
|
min_ansible_version: 2.7
|
||||||
|
|
||||||
|
@ -16,5 +16,6 @@ galaxy_info:
|
||||||
- database
|
- database
|
||||||
- sql
|
- sql
|
||||||
- mysql
|
- mysql
|
||||||
|
- mariadb
|
||||||
|
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
|
Loading…
Reference in a new issue