.travis.yml: clone the last 200 commits, be more verbose while building
This commit is contained in:
parent
3b6ec9b400
commit
a5a274f379
|
@ -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`
|
||||
|
||||
|
|
Loading…
Reference in New Issue