forked from dschep/ntfy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (53 loc) · 1.81 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
matrix:
include:
- language: generic
os: osx
before_install:
- virtualenv venv
- . ./venv/bin/activate
- language: generic
os: osx
before_install:
- pyenv install 3.6.3
- virtualenv env -p $(pyenv root)/versions/3.6.3/bin/python
- source env/bin/activate
- language: python
python: 2.7
os: linux
- language: python
python: 3.3
os: linux
- language: python
python: 3.4
os: linux
- language: python
python: 3.5
os: linux
- language: python
python: 3.6
os: linux
- language: python
python: pypy
os: linux
install:
- pip install -U pip setuptools
- pip install . .[xmpp]
- pip install coveralls yapf twine
script: |
set -e
coverage run --source=ntfy setup.py test
if ! python --version 2>&1 |egrep 'Python 3.3' ; then
yapf -r ntfy -d
[ "$(yapf -r ntfy -d | wc -l)" -eq 0 ]
fi
after_success: coveralls
deploy:
- provider: pypi
distributions: sdist bdist_wheel
on:
tags: true
python: 3.5
repo: dschep/ntfy
user: dschep
password:
secure: efA3tZAR8qOiQkG+uilQE+XdNn1Et+NBZpR36xXIa5i31zUqQQma6TUEeS989nZYINzXZSjYCuIEf4lgaVI587nszsRnmlkhIEmbqPJdUmpLQGeOvlzAOglTNuu9TxalZZfNV1smFJSj+t9ulZrpTT7WBuR9EsCr6fZ21llPUy8lqeFgSqhabXfM8FsplOrKTywIa241WL5qTU3HEeBBGEgke+oG6UTs0z68Kd/nZM2ETPPcXlrzLv8IetsH388LoiV3USMivIaQoeKt0Ulp0aJaNzUBSdKepAjFejtkYv58QX7sG5Wb7/0CPdWjaEFdqzRQsTnA9SBWz9qqg8FObYbeI5KcGKxIOEfHNXZT0mLRphwWeKKKzmLwI8WR1foHxBnb3G+AJCPTt8chyO1WqU2Fc349pCy1lP9iqZ5UKJYQfhK53oE+PhW1GyyN/nVcjOrdOfuMo55Ok3nui8kTtEFEqWfXo+SeYBSSnNfXW8+SUZYPSKFFaZvykGM50n8Gnr52/lGzHViue68do5HqhXKyKAXhYbIA61YdVViVH5XFnVf1JzlH2KXv1nRLjT/c7A7nUtPQ8WLhq9IIbP4oQlW3PzlMvbgrh2pwXCWcRAKsxbXyizFoNnK89PeYVOZhrJcRtnErCf3gSSJ2SVKwhqEFvVC5Bsy2DJS31/FoEJQ=