forked from steeve/plugin.video.pulsar
-
Notifications
You must be signed in to change notification settings - Fork 94
/
.travis.yml
42 lines (37 loc) · 1.1 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
language: python
python:
- 2.7
git:
submodules: false
before_install:
- git submodule init
- git submodule update --depth=22
install:
- pip install -r requirements.txt
script:
- flake8
- ./scripts/xgettext.sh
- make
- |
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ -n "${TRAVIS_TAG}" ]; then
make zipfiles
fi
deploy:
provider: releases
api_key: $GH_TOKEN
file:
- plugin.video.quasar-${TRAVIS_TAG:1}.zip
- plugin.video.quasar-${TRAVIS_TAG:1}.android_arm.zip
- plugin.video.quasar-${TRAVIS_TAG:1}.android_x64.zip
- plugin.video.quasar-${TRAVIS_TAG:1}.android_x86.zip
- plugin.video.quasar-${TRAVIS_TAG:1}.darwin_x64.zip
- plugin.video.quasar-${TRAVIS_TAG:1}.linux_arm.zip
- plugin.video.quasar-${TRAVIS_TAG:1}.linux_armv7.zip
- plugin.video.quasar-${TRAVIS_TAG:1}.linux_arm64.zip
- plugin.video.quasar-${TRAVIS_TAG:1}.linux_x64.zip
- plugin.video.quasar-${TRAVIS_TAG:1}.linux_x86.zip
- plugin.video.quasar-${TRAVIS_TAG:1}.windows_x64.zip
- plugin.video.quasar-${TRAVIS_TAG:1}.windows_x86.zip
skip_cleanup: true
on:
tags: true