Skip to content

Commit

Permalink
add travis test
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodav committed Jan 2, 2019
1 parent d5a5a7a commit 6e543ab
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# http://www.jeffgeerling.com/blog/testing-ansible-roles-travis-ci-github
sudo: required
language: python
services:
- docker
before_install:
- sudo apt-get -qq update
#- docker build --tag molecule_local/fedora-rawhide2:latest -f molecule/default/fedorar/Dockerfile molecule/default/fedorar

install:
- sudo apt-get install -y python-pip libssl-dev libffi-dev
- pip install molecule
- pip install docker-py
#- ansible-galaxy install -r requirements.yml

script:
- molecule --debug create
- molecule converge
- molecule syntax
#- molecule idempotence

notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/

0 comments on commit 6e543ab

Please sign in to comment.