This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Filip Krahl
committed
Mar 31, 2020
1 parent
ded2c0b
commit ee6e354
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |