forked from opsdroid/opsdroid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 918 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
os: linux
dist: xenial
jobs:
fast_finish: true
include:
- python: "3.6"
env: TOXENV=py36
- python: "3.7"
env: TOXENV=py37
- python: "3.7"
env: TOXENV=docker
- python: "3.7"
env: TOXENV=docs
- python: "3.7"
env: TOXENV=lint
cache:
directories:
- $HOME/.cache/pip
services:
- docker
install: pip install -U tox codecov
language: python
script: tox
after_success: codecov
deploy:
provider: pypi
username: $PYPI_USER
password: $PYPI_PASSWORD
cleanup: false
on:
tags: true
repo: opsdroid/opsdroid
condition: "$TOXENV = py37"
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