Skip to content

Commit 5839355

Browse files
authored
Merge pull request #55 from anxdpanic/dev
Add Travis CI and TravisBuddy
2 parents 55cbaf3 + 333af0d commit 5839355

File tree

3 files changed

+71
-0
lines changed

3 files changed

+71
-0
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: python
2+
python:
3+
- "3.6"
4+
5+
install:
6+
- pip install kodi-addon-checker
7+
8+
script:
9+
- kodi-addon-checker . --branch=isengard --PR
10+
11+
notifications:
12+
webhooks: https://www.travisbuddy.com/
13+
email:
14+
on_failure: change
15+
16+
travisBuddy:
17+
successBuildLog: true

travis-buddy-failure-template.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
@{{pullRequestAuthor}},
2+
3+
Please review the following log and resolve any issues.
4+
5+
{{#jobs}}
6+
7+
<a href="{{link}}">View log</a>
8+
9+
{{#scripts}}
10+
11+
<details>
12+
<summary>
13+
<strong>
14+
{{command}}
15+
</strong>
16+
</summary>
17+
18+
```
19+
{{&contents}}
20+
```
21+
22+
</details>
23+
24+
{{/scripts}}
25+
{{/jobs}}
26+
27+
Thank you for your contribution.

travis-buddy-success-template.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
@{{pullRequestAuthor}},
2+
3+
Please review the following log and address any suggestions.
4+
5+
{{#jobs}}
6+
7+
<a href="{{link}}">View log</a>
8+
9+
{{#scripts}}
10+
11+
<details>
12+
<summary>
13+
<strong>
14+
{{command}}
15+
</strong>
16+
</summary>
17+
18+
```
19+
{{&contents}}
20+
```
21+
22+
</details>
23+
24+
{{/scripts}}
25+
{{/jobs}}
26+
27+
Thank you for your contribution.

0 commit comments

Comments
 (0)