.travis.yml: clone the last 200 commits, be more verbose while building

This commit is contained in:
Enno Boland 2014-11-07 16:50:06 +01:00
parent 3b6ec9b400
commit a5a274f379
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,7 @@
language: bash
git: depth: 200
env:
global:
- PATH=$PATH:$PWD/xtools
@ -8,7 +10,9 @@ before_script:
- git clone git://github.com/chneukirchen/xtools.git xtools
script:
- git diff --name-status "$TRAVIS_COMMIT_RANGE" > __changed_files
- echo Checking: $TRAVIS_COMMIT_RANGE
- git diff --name-status -- "$TRAVIS_COMMIT_RANGE" > __changed_files
- cat __changed_files
- grep "^[AM].*srcpkgs/[^/]*/template$" __changed_files | awk '{print $2}' | tee __changed_templates
- xlint `cat __changed_templates`