From 7269bd5c897b2ccb892142f0d4a0c97e94a72019 Mon Sep 17 00:00:00 2001 From: Kolja Lampe Date: Wed, 22 Nov 2017 23:15:11 +0100 Subject: Add addon-checker to krypton --- .gitmodules | 3 +++ .tests | 1 + .tests-config.json | 5 +++++ .travis.yml | 11 +++++++++++ 4 files changed, 20 insertions(+) create mode 100644 .gitmodules create mode 160000 .tests create mode 100644 .tests-config.json create mode 100644 .travis.yml diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..2c14b30 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule ".tests"] + path = .tests + url = https://github.com/xbmc/addon-check.git diff --git a/.tests b/.tests new file mode 160000 index 0000000..749ab0c --- /dev/null +++ b/.tests @@ -0,0 +1 @@ +Subproject commit 749ab0cbaa6c42a30b5e4f33bd3acbcae59ac4e7 diff --git a/.tests-config.json b/.tests-config.json new file mode 100644 index 0000000..e55fc18 --- /dev/null +++ b/.tests-config.json @@ -0,0 +1,5 @@ +{ + "check_legacy_language_path": true, + "check_legacy_strings_xml": true, + "check_license_file_exists": true +} \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..33caa66 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +language: python +python: + - "3.6" + +install: + - pip install Pillow + +# command to run our tests +script: + - cd .tests + - python check_repo.py \ No newline at end of file -- cgit v1.2.3