.travis.yml: make testing more robust against complex commit trees

This commit is contained in:
Enno Boland 2014-11-12 13:25:04 +01:00
parent 7cbe65bf52
commit 14c21aa54a

View file

@ -11,8 +11,8 @@ before_script:
- git clone --depth 1 git://github.com/chneukirchen/xtools.git xtools
script:
- git fetch --depth 1 git://github.com/voidlinux/void-packages.git master
- git diff --name-status FETCH_HEAD | grep "^[AM].*srcpkgs/[^/]*/template$" | awk '{print $2}' | tee __changed_templates
- git remote add __upstream git://github.com/voidlinux/void-packages.git; git fetch --depth 200 __upstream master
- git diff --name-status `git merge-base __upstream/master HEAD` | grep "^[AM].*srcpkgs/[^/]*/template$" | awk '{print $2}' | tee __changed_templates
- xlint `cat __changed_templates`
notifications: