forked from opsdroid/opsdroid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 988 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
sudo: false
matrix:
fast_finish: true
include:
- python: "3.5"
env: TOXENV=docker
- python: "3.5"
env: TOXENV=docs
- python: "3.5"
env: TOXENV=lint
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "3.7"
env: TOXENV=py37
dist: xenial
sudo: true
cache:
directories:
- $HOME/.cache/pip
services:
- docker
install: pip install -U tox codecov
language: python
script: tox
after_success: codecov
deploy:
provider: pypi
user: $PYPI_USER
password: $PYPI_PASSWORD
skip_cleanup: true
on:
tags: true
repo: opsdroid/opsdroid
condition: "$TOXENV = py35"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/e03aa35a69fab2cb086a
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always