Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
add travis stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Krahl committed Mar 31, 2020
1 parent ded2c0b commit ee6e354
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
language: python
python: "2.7"
cache: pip
dist: trusty
services:
- docker

# Use the new container infrastructure
sudo: false

# Set environment
env:
matrix:
- IMAGE_NAME="ubuntu:16.04-builded"
- IMAGE_NAME="debian:8-builded"
- IMAGE_NAME="debian:9-builded"
- IMAGE_NAME="centos:7-builded"
- IMAGE_NAME="centos:6-builded"

install:
# Install ansible
- pip install ansible

# Check ansible version
- ansible --version

# Create ansible.cfg with correct roles_path
- printf '[defaults]\nroles_path=../' >ansible.cfg

script:
# Basic role syntax check
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check

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

0 comments on commit ee6e354

Please sign in to comment.