Skip to content

Commit

Permalink
Create .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesdubois authored Aug 14, 2020
1 parent d2e529e commit 1785d5b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1785d5b

Please sign in to comment.