-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (53 loc) · 1.3 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
# name: .travis.yml
# description: This file tells travis, what needs to be done.
# author: while-true-do.io
# contact: [email protected]
# license: BSD-3-Clause
# reference: https://docs.travis-ci.com/user/customizing-the-build
language: python
services:
# Provide the docker service.
- docker
env:
matrix:
# Please also maintain
# - meta/main.yml
# - molecule/defaults/tests/*
- name: "centos7"
image: "centos:7"
- name: "redhat7"
image: "centos:7"
- name: "fedora29"
image: "fedora:29"
pygroup: "python3"
- name: "fedora30"
image: "fedora:30"
pygroup: "python3"
install:
# Install test dependencies.
- pip install ansible==2.7.10 molecule[docker]
before_script:
# Use actual Ansible Galaxy role name for the project directory.
- ln -s $PWD ../while_true_do.sys_selinux
- cd ../while_true_do.sys_selinux
script:
# Do the tests.
- molecule test
notifications:
email:
recipients:
on_success: change
on_failure: always
irc:
channels:
- "chat.freenode.net#while-true-do"
on_success: change
on_failure: always
webhooks:
urls:
- https://galaxy.ansible.com/api/v1/notifications/
on_success: always
on_failure: always
on_pull_requests: false