.travis.yml: make testing more robust against complex commit trees
This commit is contained in:
parent
7cbe65bf52
commit
14c21aa54a
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ before_script:
|
||||||
- git clone --depth 1 git://github.com/chneukirchen/xtools.git xtools
|
- git clone --depth 1 git://github.com/chneukirchen/xtools.git xtools
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- git fetch --depth 1 git://github.com/voidlinux/void-packages.git master
|
- git remote add __upstream git://github.com/voidlinux/void-packages.git; git fetch --depth 200 __upstream master
|
||||||
- git diff --name-status FETCH_HEAD | grep "^[AM].*srcpkgs/[^/]*/template$" | awk '{print $2}' | tee __changed_templates
|
- git diff --name-status `git merge-base __upstream/master HEAD` | grep "^[AM].*srcpkgs/[^/]*/template$" | awk '{print $2}' | tee __changed_templates
|
||||||
- xlint `cat __changed_templates`
|
- xlint `cat __changed_templates`
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
|
Loading…
Reference in a new issue