Added .travis.yml to check templates with xlint

This commit is contained in:
Enno Boland 2014-11-07 16:26:22 +01:00
parent 7c89088ede
commit 3b6ec9b400
1 changed files with 16 additions and 0 deletions

16
.travis.yml Normal file
View File

@ -0,0 +1,16 @@
language: bash
env:
global:
- PATH=$PATH:$PWD/xtools
before_script:
- git clone git://github.com/chneukirchen/xtools.git xtools
script:
- git diff --name-status "$TRAVIS_COMMIT_RANGE" > __changed_files
- grep "^[AM].*srcpkgs/[^/]*/template$" __changed_files | awk '{print $2}' | tee __changed_templates
- xlint `cat __changed_templates`
notifications:
email: false