-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 loc) · 963 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
language: python
sudo: yes
matrix:
include:
- python: 2.7
env: TOXENV=py27-ansible21
- python: 2.7
env: TOXENV=py27-ansible20
- python: 2.7
env: TOXENV=py27-ansible19
install:
- pip install tox
script:
- tox
notifications:
email: false
slack:
template:
- "%{repository_name}@%{branch} %{commit} : [%{build_number}] %{result} "
- "%{build_url}"
- "'%{commit_subject}' by %{author}"
- "%{elapsed_time} : %{duration}"
- "%{message}"
rooms:
secure: NfmAKh32+3VjdHPcckTb2WKFLHmDeDXg18RCFTNquntOkrE5WKvwdUgH+5mtgIw6sP06OuyRgCBmrOj4zNAvbNU0ltTWDg974TREluQ7LCraIPVX07arY3TjvCjZvp9dtdbSm5G2GiVIEb2Eq2PZDBXYh+yYRXJO7hDFfy3tRoI=
on_success: always
on_failure: always
webhooks: https://galaxy.ansible.com/api/v1/notifications/
before_cache:
- find ${HOME}/.pip -name log -o -name __pycache__ -type d | xargs -I {} rm -rf {}
cache:
directories:
- "${HOME}/.cache/pip"