.travis.yml: diff against real upstream master instead of what travis is telling us.

This commit is contained in:
Enno Boland 2014-11-07 18:33:31 +01:00
parent 616e0c630c
commit 85c8fa1e2d

View file

@ -11,9 +11,9 @@ before_script:
- git clone --depth 1 git://github.com/chneukirchen/xtools.git xtools
script:
- echo "Checking $TRAVIS_COMMIT_RANGE"
- git diff --name-status "$TRAVIS_COMMIT_RANGE" > __changed_files
- cat __changed_files
- git remote add upstream git://github.com/voidlinux/void-packages.git
- git fetch --depth 1 upstream master
- git diff --name-status upstream/master > __changed_files
- grep "^[AM].*srcpkgs/[^/]*/template$" __changed_files | awk '{print $2}' | tee __changed_templates
- xlint `cat __changed_templates`