-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (28 loc) · 771 Bytes
/
.travis.yml
File metadata and controls
33 lines (28 loc) · 771 Bytes
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
sudo: required
before_install:
- sudo apt-get -qq install wput sshpass
- git clone https://github.com/XiaomiFirmwareUpdater/firmware_xiaomi_whyred.git -b weekly $HOME/XFU/
- cd $HOME/XFU/ && wget -q https://github.com/XiaomiFirmwareUpdater/mi-firmware-updater/raw/weekly/script.sh
script:
- chmod +x device.sh script.sh
- "travis_wait 50 sleep 1800 &"
- ./device.sh
deploy:
skip_cleanup: true
provider: releases
api_key: "$GIT_OAUTH_TOKEN_XFU"
file_glob: true
file: $HOME/XFU/*.zip
on:
tags: false
repo: XiaomiFirmwareUpdater/firmware_xiaomi_whyred
branch: weekly
notifications:
email:
on_success: never
on_failure: always
branches:
except:
- /^(?i:untagged)-.*$/
- /^(?i:weekly)-.*$/
- /^(?i:stable)-.*$/