forked from Fazzani/grab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (33 loc) · 865 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
language: generic
install: skip
cache: false
services:
- docker
git:
clone: false
branches:
only:
- master
if: (commit_message =~ ^daily OR type = "cron") AND (branch = master)
env:
- WEBGRAB_FILENAME=configs/ar_bein.xml
- WEBGRAB_FILENAME=configs/ar_osn2.xml
- WEBGRAB_FILENAME=configs/ar_osn3.xml
- WEBGRAB_FILENAME=configs/ar_osn4.xml
- WEBGRAB_FILENAME=configs/ar_osn5.xml
script: |
wget https://raw.githubusercontent.com/Fazzani/grab/master/build.sh -O build.sh
chmod +x ./build.sh && ./build.sh --build
jobs:
include:
- stage: merging
name: Merging xmltv files
script: |
wget https://raw.githubusercontent.com/Fazzani/grab/master/build.sh -O build.sh
chmod +x ./build.sh && ./build.sh --merge
notifications:
email:
recipients:
on_success: change
on_failure: change