accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [accumulo] branch 1.9 updated: Limit log size in Travis CI builds
Date Tue, 16 Jul 2019 21:22:03 GMT
This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch 1.9
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/1.9 by this push:
     new 6b1ff04  Limit log size in Travis CI builds
6b1ff04 is described below

commit 6b1ff048b93641f597aaba79424c906156dec42b
Author: Christopher Tubbs <ctubbsii@apache.org>
AuthorDate: Tue Jul 16 17:16:38 2019 -0400

    Limit log size in Travis CI builds
    
    Suppress the downloading messages for maven dependency resolution,
    because they result in a very long build log, which causes Travis CI to
    fail the build when it exceeds 4MB. These settings will ensure that the
    dependency resolver will only show warnings and higher for download
    actions.
---
 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 1b72b5b..b67e92a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,5 +28,6 @@ before_script:
 env:
   - BUILD_CMD="mvn clean verify javadoc:jar -DskipITs"  # main build of unit tests and javadoc
   - BUILD_CMD="mvn clean verify javadoc:jar -DskipITs -Dhadoop.profile=3"
+# suppress download logs which cause travis to exceed the 4MB build log output limit
 script:
-  - $BUILD_CMD
+  - $BUILD_CMD -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn


Mime
View raw message