From a5a274f37950e89d6706e88d64299ef09bc4200c Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 7 Nov 2014 16:50:06 +0100 Subject: [PATCH] .travis.yml: clone the last 200 commits, be more verbose while building --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index af4634b11cd..63d4472ccc4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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`