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