From 333af0d21803544b4b649441eb6d35764f025e51 Mon Sep 17 00:00:00 2001 From: anxdpanic Date: Mon, 28 Jan 2019 11:45:51 -0500 Subject: [PATCH] Add Travis CI and TravisBuddy - Run Kodi Addon checker against new PRs --- .travis.yml | 17 +++++++++++++++++ travis-buddy-failure-template.md | 27 +++++++++++++++++++++++++++ travis-buddy-success-template.md | 27 +++++++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 .travis.yml create mode 100644 travis-buddy-failure-template.md create mode 100644 travis-buddy-success-template.md diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e5b8e55 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: python +python: + - "3.6" + +install: + - pip install kodi-addon-checker + +script: + - kodi-addon-checker . --branch=isengard --PR + +notifications: + webhooks: https://www.travisbuddy.com/ + email: + on_failure: change + +travisBuddy: + successBuildLog: true diff --git a/travis-buddy-failure-template.md b/travis-buddy-failure-template.md new file mode 100644 index 0000000..a7441b0 --- /dev/null +++ b/travis-buddy-failure-template.md @@ -0,0 +1,27 @@ +@{{pullRequestAuthor}}, + +Please review the following log and resolve any issues. + +{{#jobs}} + +View log + +{{#scripts}} + +
+ + + {{command}} + + + +``` +{{&contents}} +``` + +
+ +{{/scripts}} +{{/jobs}} + +Thank you for your contribution. diff --git a/travis-buddy-success-template.md b/travis-buddy-success-template.md new file mode 100644 index 0000000..0506c1a --- /dev/null +++ b/travis-buddy-success-template.md @@ -0,0 +1,27 @@ +@{{pullRequestAuthor}}, + +Please review the following log and address any suggestions. + +{{#jobs}} + +View log + +{{#scripts}} + +
+ + + {{command}} + + + +``` +{{&contents}} +``` + +
+ +{{/scripts}} +{{/jobs}} + +Thank you for your contribution.