You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2018/10/26 14:12:35 UTC

[accumulo] branch master updated: Fix Travis conflict with rat plugin

This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 3f1dd42  Fix Travis conflict with rat plugin
3f1dd42 is described below

commit 3f1dd42a013fb5f3021cf1772417e5098c312154
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Fri Oct 26 10:09:29 2018 -0400

    Fix Travis conflict with rat plugin
    
    The travis_wait command in Travis CI causes maven-rat-plugin check
    failures, so this modifies the build command to only run that for the
    spotbugs/findsecbugs task that disables rat check.
    
    In addition to the Travis console timeout, which was increased to 20
    minutes, spotbugs has its own timeout, which must be increased for
    findsecbugs, which runs slowly in Travis CI's infrastructure. That is
    now increased to 20 minutes from the default of 10 as well.
---
 .travis.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index c1f9a7f..484a54a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -26,8 +26,8 @@ jdk:
 before_script:
   - unset _JAVA_OPTIONS
 env:
-  - BUILD_ARGS="clean verify javadoc:jar -DskipITs"  # main build of unit tests and javadoc
-  - BUILD_ARGS="clean verify -PskipQA,sec-bugs -Dspotbugs.skip=false"  # check for spotbugs+security
-  - BUILD_ARGS="clean compile -Dhadoop.version=3.0.3 -Dzookeeper.version=3.4.12"  # quick compile to verify older API
+  - BUILD_CMD="mvn clean verify javadoc:jar -DskipITs"  # main build of unit tests and javadoc
+  - BUILD_CMD="travis_wait 20 mvn clean verify -PskipQA,sec-bugs -Dspotbugs.skip=false -Dspotbugs.timeout=1200000"  # check for spotbugs+security
+  - BUILD_CMD="mvn clean compile -Dhadoop.version=3.0.3 -Dzookeeper.version=3.4.12"  # quick compile to verify older API
 script:
-  - travis_wait 20 mvn $BUILD_ARGS
+  - $BUILD_CMD