-
Notifications
You must be signed in to change notification settings - Fork 215
/
.travis.yml
51 lines (51 loc) · 1.76 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
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.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; then
yapf -r ntfy -d
[ "$(yapf -r ntfy -d | wc -l)" -eq 0 ]
fi
after_success: coveralls
deploy:
- provider: pypi
twine_version: 1.12.1
distributions: sdist bdist_wheel
on:
tags: true
python: 3.5
repo: dschep/ntfy
user: dschep
password:
secure: Y1M1b2HnHi3uRgqXQWJSYFm2oAo+EbEEt4+9M8cqay1BhISUv0I727N/JUNiRoGAyt+6GTY9isEopO39LCXgTANYVzQHhQIEM9aY5DObFhwdkU3gv2YdE0MPAvh+VL3b5BDO8znc8lXxXzAvVDn4WFujnGeCPn+4ubP9OA2hnTyFiSlq+OqvNE6BoeZsUxeAOi29S65kSirevps1qDA/UeIT/94Qp5XtMolqlZtTTA6EEPNAA++mJcZYM7aBGf1oy89w7OupVw5t93Zhj90mb4z8p4VSfFXBcn40oo1DayegXF79tgqWLulz1fIzIJV3mY8Ge1Skp6HgJwNgmqOtiMcIwMbu/Kba9ifaFc+bUUQ1K0yZqNzznkDFscd8nQ9GJYXn+s92th0llQjBVzG5o89LPlEysMlb1ETu+BdP3kJruNX7ACKtQpBKMVHaYoDCkTb1rt7r5wbn/rc3wijRgTJo1fDG0XUuesAaaFpLo1bS3TRZQXu3zx+1OLQaXBWRA712HF6gLHbdK0aP8CCNWtayLz1ivjYg/F4W7rKePlTOeheRo2c8/k+CU6+AbblPZ7ane20/15tofzLnATFFpoRtXA7k4hfHIzC7s0R9nWYTU0OREe0ma+yJTUDQA+YKyVcPoFImdunGhkbxWDHggn+4RlXAWRPCRkhqI0g90Vw=