forked from ParadoxAlarmInterface/pai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (42 loc) · 1.57 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
dist: xenial
language: python
cache: pip
python:
- '3.7'
- '3.8'
- '3.9'
install:
- pip install .
- pip install -r requirements.txt
script: python setup.py test
deploy:
provider: pypi
username: __token__
distributions: "sdist bdist_wheel"
skip_existing: true
on:
tags: true
password:
secure: FAeYKD6vIcjAd18VUjuNyPzEpEYIQgyeGhiYBYIr/Wx0+mhPmEqtsNzwgebfyIxkJ9LxHk8Xuo+RBbnXS37tYoH+nJxE3QKfctL1gCzuvm9dVtdF2zhzpVvshRp9g/i02WaXXn5fsvMML6dcMfcfx+MtgymBX1lhkx4DUxwrnINHpC2bJGFjz6sKXVxg2bu9nvQgQGmUoi1r/9z2N3cA5alYkVG4vCVg0w0emxX/bGIIhNYvnLDE06exYxXRPtlgkBZSP49bPcVhBrItea0drsTuWh3l9okW+f0GKXGnBhev9JS8GSbGMQvWufzmd0DYiV+QHSMYq6ontG5S66rc4xOEibiz+Wj/3lBs8+VeNUXG4fIobkUN78CVlQCbiSnWVuN4drZ9U2/T5th5yaJ9LcUlGybDVkwL/PoTlNOjmw+w6RZFTc2fI/GIrrExQuMpx4Vkip627uxt0VbDYGkL5PZAXjYdEJnJa0KQND2UBXx9qBYJeHIX9OQWLYKgpnTggaEe6jwHAvzOTlTXRO/KpPhFC0oSpu4diq2afIVqurrDPzENr97HaKc64hdPtFEbg0gLgf1t6x9K4MHpFmIEWr/2ddMUswBqjaGIEAg3D8bBRFo4kRIRDdmXxsZaLIMfuQw/KtwB4wvaKM5LuwaioViaOZ4OhALI0CpwWn5Ko5s=
jobs:
include:
- stage: deploy
python: '3.9'
script: "./.travis/deploy.sh"
if: type != pull_request AND (branch IN (dev, master) OR tag IS present)
addons:
apt:
sources:
- sourceline: deb https://download.docker.com/linux/ubuntu/ xenial stable
key_url: https://download.docker.com/linux/ubuntu/gpg
packages:
- docker-ce
- docker-ce-cli
- containerd.io
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/008067a67792a8e27478
on_success: change
on_failure: always
on_start: never