tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkemn...@apache.org
Subject [4/4] tapestry-5 git commit: work around the 10 minutes timeout from inside Gradle
Date Thu, 17 Sep 2015 06:58:50 GMT
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 <jochen.kemnade@eddyson.de>
Authored: Thu Sep 17 08:58:07 2015 +0200
Committer: Jochen Kemnade <jochen.kemnade@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 {


Mime
View raw message