forked from zim514/script.service.hue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (31 loc) · 823 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
language: python
python: "3.7"
env:
- ADDON_ID=script.service.hue
BRANCH=matrix
REPO=repo-scripts
# command to install dependencies
install:
- pip install kodi-addon-checker
script:
- kodi-addon-checker --branch $BRANCH $ADDON_ID
before_deploy:
- pip install -q git+https://github.com/romanvm/kodi-addon-submitter.git
- submit-addon -s -z $ADDON_ID
- export RELEASE_ZIP=$(ls *.zip)
deploy:
- provider: releases
api_key: $GH_TOKEN
overwrite: true
file_glob: true
file: $RELEASE_ZIP
skip_cleanup: true
draft: false
on:
branch: master
tags: true
- provider: script
#script: submit-addon -s -b $BRANCH -r $REPO --push-branch script.service.hue
script: submit-addon -r repo-scripts -b $BRANCH -s --push-branch $ADDON_ID
on:
tags: true