From 1785d5b0fd2f15e4487bbb60588cd0830e59acfd Mon Sep 17 00:00:00 2001 From: Gilles Dubois Date: Fri, 14 Aug 2020 17:05:27 +0200 Subject: [PATCH] Create .travis.yml --- .travis.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..de0fde8 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +language: php +php: + - '5.6' + - '7.1' + - '7.3' + +before_script: + - sudo apt -y install jsonlint libxml2-utils + - if find . -name "*.php" -exec php -l {} \; | grep "Fatal error"; then exit 1; fi + - jsonlint-php infos.json + - xmllint --noout hook.xml + +script: exit 0 + +addons: + apt: + update: true + +branches: + only: + - master