-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
54 lines (47 loc) · 1021 Bytes
/
.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
---
language: python
python:
- "2.7"
- "3.6"
services: docker
branches:
only:
- master
env:
global:
- GITHUB_ROLE_NAME="ansible-role-amazon-ssm-agent"
- GALAXY_ROLE_NAME="christiangda.amazon_ssm_agent"
matrix:
- ANSIBLE_VERSION=">=2.8.1,<2.9"
- ANSIBLE_VERSION=">=2.7,<2.8"
- ANSIBLE_VERSION=">=2.6,<2.7"
- ANSIBLE_VERSION=">=2.5,<2.6"
install:
- pip install ansible"${ANSIBLE_VERSION}"
# - pip install molecule
- pip install molecule">=2.22rc1"
- pip install docker
- pip install flake8
- pip install selinux
- pip install docker
- pip install pylint
- pip install rope
before_script:
- ls -la
- cd ../
- ls -la
- mv $GITHUB_ROLE_NAME $GALAXY_ROLE_NAME
- cd $GALAXY_ROLE_NAME
script:
- molecule --version
- ansible --version
- molecule test
notifications:
webhooks:
urls:
- https://galaxy.ansible.com/api/v1/notifications/
on_success: always
on_failure: never
on_start: never
on_cancel: never
on_error: never