Added .travis.yml to check templates with xlint
This commit is contained in:
parent
7c89088ede
commit
3b6ec9b400
1 changed files with 16 additions and 0 deletions
16
.travis.yml
Normal file
16
.travis.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue