forked from ikalchev/HAP-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 888 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
language: python
sudo: true
branches:
only:
- master
- dev
- /^\d\.\d+$/
- /^\d\.\d+\.\d+(rc\d+|\.dev\d+)?$/
matrix:
include:
- python: "3.5"
env: TOXENV=lint
# - python: "3.5"
# env: TOXENV=pylint
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "3.6"
env: TOXENV=docs
before-install:
- sudo apt-get -qq update
- sudo apt-get install -y libavahi-compat-libdnssd-dev
install:
- pip install -U tox twine wheel codecov
script: tox
after_success:
- codecov
after_failure:
- codecov
cache:
directories:
- $HOME/.cache/pip
#deploy:
# provider: pypi
# distributions: "sdist bdist_wheel"
# user:
# password:
# secure:
# on:
# tags: true
# repo: ikalchev/HAP-python
# condition: "$TOXENV == py34 && $TRAVIS_TAG =~ ^[0-9]+[.][0-9]+[.][0-9]+(rc[0-9]+|[.]dev[0-9]+)?$"