-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (49 loc) · 1.05 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
language: python
branches:
except:
- gh-pages
cache:
directories:
- "${HOME}/.pip"
before_cache:
- "find ${HOME}/.pip -name log -o -name __pycache__ -type d | xargs -I {} rm -rf {}"
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
- pypy
matrix:
fast_finish: true
allow_failures:
- python: 3.6
install:
- pip install tox
- pip install tox-travis
script:
- tox
after_success:
- pylint ansiblebit
- pip install coveralls
- coveralls
deploy:
provider: pypi
user: ansiblebit
password:
secure: todo
on:
tags: true
notifications:
email: false
slack:
template:
- "%{repository_name}@%{branch} %{commit} : [%{build_number}] %{result} "
- "%{build_url}"
- "'%{commit_subject}' by %{author}"
- "%{elapsed_time} : %{duration}"
- "%{message}"
rooms:
secure: cMw16G5yS/zFg74NZnd/e0KeLlYvG2R1ZNM0JsGW7z+9gfCIBEGr/2aDLR/DPw4WejSpeCWVIS+rqmfYGKKRR4irRkCNxGJCYe/Tfmo9/ZNH9rXK0FM18jQyUx8y6pyMGW+u4f4UWf+hQXrbh5ucjOrCAeWIREIWlOVWo0L0/V8=
on_success: always
on_failure: always