You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by jk...@apache.org on 2015/09/17 08:58:50 UTC

[4/4] tapestry-5 git commit: work around the 10 minutes timeout from inside Gradle

work around the 10 minutes timeout from inside Gradle


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/3e589224
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/3e589224
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/3e589224

Branch: refs/heads/master
Commit: 3e58922426ade58781dd831145d9dbe426f49a60
Parents: cd5b85f
Author: Jochen Kemnade <jo...@eddyson.de>
Authored: Thu Sep 17 08:58:07 2015 +0200
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Thu Sep 17 08:58:07 2015 +0200

----------------------------------------------------------------------
 build.gradle | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/3e589224/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 2cef999..edbc495 100755
--- a/build.gradle
+++ b/build.gradle
@@ -201,6 +201,19 @@ subprojects {
         jvmArgs("-XX:MaxPermSize=512m", "-Dfile.encoding=UTF-8")
 
         environment.LANG = 'en_US.UTF-8'
+        
+        if (continuousIntegrationBuild){
+          // Travis runs our builds with TERM=dumb and kills it if we don't produce any
+          // output for 10 minutes, so we log some task execution progress 
+        
+          def numberOfTestsExecuted = 0
+          afterTest { descriptor, result->
+            numberOfTestsExecuted++
+            if (numberOfTestsExecuted % 100 == 0){
+              logger.lifecycle "$numberOfTestsExecuted tests executed"
+            }
+          }
+        }
     }
 
     jar {