forked from vlmaksime/plugin.video.filmix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (35 loc) · 772 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
dist: trusty
language: python
python:
- "2.6"
- "2.7"
- "3.6"
env:
global:
- ADDON_ID=plugin.video.filmix
- PYTHONIOENCODING=UTF-8
install:
- pip install -q -r requirements.txt
script:
- coverage run tests.py
after_success:
- codecov
- coverage xml -o cobertura.xml
- bash <(curl -Ls https://coverage.codacy.com/get.sh)
before_deploy:
- pip install -q git+https://github.com/romanvm/kodi-addon-submitter.git
- submit-addon -s -z -m $ADDON_ID
- export RELEASE_ZIP=$(ls *.zip)
deploy:
# Publish an installable ZIP to GitHub Releases
- provider: releases
api_key: $GH_TOKEN
file_glob: true
file: $RELEASE_ZIP
skip_cleanup: true
on:
branch: master
python: "3.6"
tags: true
notifications:
email: false