-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
47 lines (39 loc) · 1.37 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
language: python
python:
- '2.7'
# Exclude any tag pushes/builds from being picked up by Travis
# Exclusion format numbers & dots e.g. 1, 1.2, 1.2.3, etc
branches:
except:
- /^\d+(\.\d+)*$/
# Setting environment variables that can be used by Git via Travis to identify current user
env:
global:
# Generated by `travis encrypt GIT_NAME=..." GIT_EMAIL=... GH_TOKEN=...`
secure: nrNOM7DRXT8xSdGfEjTyx1LVV7rKCb/ZC6aHexzg6TW1CFA+CZMVzZHCvWfuUz0Qc8rLkUF9K5ZIdXW16x1gvTAS+dL2Y2FvQ3HgX6/QHbKDBUGXNbRYCSsLclwxLn6fYmSCxxPt9OqLIoY1Mx+9r+59a9B+tSP4+9BSSbdUUM8=
install:
- pip install -r requirements.txt
# Discover and run all plugin tests
script:
- python -m unittest discover
#- touch hello.zip
after_script:
#- bash after_success.sh
# Build and Deploy a new plugin ZIP bundle
before_deploy:
# Rename script to build_assets.sh
#- npm install
#- node tag_version.js
# Deploy build to GitHub Releases
deploy:
provider: releases
api-key:
secure: i+DhcN8WKYhwYkviS72nWc8Y7i4GP11BntvnadQvATbyr2TGrtwd7b3hQLG/srVnSxl8L81E6pzOWST/1Nz1cYr6iiTeAhH+l0ZsTfqzYBEmfnGEmSoeRER0ZmUIPsu/2jLHXPsGGDPPI5k53OPlgeZOhmoeqii/PQpDl7R3lKQ=
file: "plugin.video.dailytube4u.com-${TRAVIS_BRANCH}.zip"
skip_cleanup: true
on:
all_branches: true
condition: -n "$(find . -maxdepth 1 -name '*zip')"
# tags: true
# branch: master
repo: ArabicXBMC/plugin.video.dailytube4u.com