From a3b151d834db1c934a3e3901979886a9737ce41e Mon Sep 17 00:00:00 2001 From: j0lly Date: Sat, 11 Mar 2017 17:42:15 +0100 Subject: [PATCH] travis integration --- .gitignore | 1 + .travis.yml | 11 +++++++++++ README.md | 6 +++++- molecule.yml | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.gitignore b/.gitignore index 676ee82..4fbc227 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .molecule __pycache__ *.pyc +pytestdebug.log diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..41a0dce --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +sudo: required +language: python +services: + - docker +before_install: + - sudo apt-get -qq update + - sudo apt-get install -o Dpkg::Options::="--force-confold" --force-yes -y docker-engine +install: + - pip install molecule docker-py +script: + - molecule --debug test diff --git a/README.md b/README.md index 052409f..bb6bebc 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,10 @@ SSH Keys Simplest role to map users with provided ssh keys. +[![Ansible Role](https://img.shields.io/ansible/role/16211.svg)](https://galaxy.ansible.com/j0lly/ssh-keys/) +[![Build Status](https://travis-ci.org/j0lly/ansible-role-ssh-keys.svg?branch=master)](https://travis-ci.org/j0lly/ansible-role-ssh-keys) + + Requirements ------------ @@ -53,4 +57,4 @@ BSD Author Information ------------------ -An optional section for the role authors to include contact information, or a website (HTML is not allowed). +j0lly - jos.ferraris@gmail.com diff --git a/molecule.yml b/molecule.yml index a6cb487..5c19bc2 100644 --- a/molecule.yml +++ b/molecule.yml @@ -3,7 +3,7 @@ dependency: name: galaxy ansible: - verbose: vvv + verbose: v playbook: tests/playbook-test.yml driver: