Added .travis.yml to check templates with xlint
This commit is contained in:
parent
7c89088ede
commit
3b6ec9b400
|
@ -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
|
Loading…
Reference in New Issue