2014-11-07 16:26:22 +01:00
|
|
|
language: bash
|
|
|
|
|
2014-11-07 16:51:20 +01:00
|
|
|
git:
|
|
|
|
depth: 200
|
2014-11-07 16:50:06 +01:00
|
|
|
|
2014-11-07 16:26:22 +01:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- PATH=$PATH:$PWD/xtools
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- git clone git://github.com/chneukirchen/xtools.git xtools
|
|
|
|
|
|
|
|
script:
|
2014-11-07 17:02:41 +01:00
|
|
|
- echo "Checking $TRAVIS_COMMIT_RANGE"
|
2014-11-07 16:50:06 +01:00
|
|
|
- git diff --name-status -- "$TRAVIS_COMMIT_RANGE" > __changed_files
|
|
|
|
- cat __changed_files
|
2014-11-07 16:26:22 +01:00
|
|
|
- grep "^[AM].*srcpkgs/[^/]*/template$" __changed_files | awk '{print $2}' | tee __changed_templates
|
|
|
|
- xlint `cat __changed_templates`
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|