You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by ct...@apache.org on 2018/10/04 19:53:34 UTC

[fluo] branch master updated: Fix javadoc memory issues with Travis-CI (#1051)

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/fluo.git


The following commit(s) were added to refs/heads/master by this push:
     new 7b25d15  Fix javadoc memory issues with Travis-CI (#1051)
7b25d15 is described below

commit 7b25d1527b9957185959c48614ab3ecf221a17d6
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Thu Oct 4 15:53:24 2018 -0400

    Fix javadoc memory issues with Travis-CI (#1051)
    
    * Unset _JAVA_OPTIONS environment, which may (?) interfere with the
      default settings of certain Maven plugins, and causes the build to run out
      of memory and be killed by the Travis host.
    * Clean up bad license header formatting
    * Remove IRC notifications (nobody lurks in IRC anymore, so these aren't useful)
    * Build against current latest Accumulo 1.9.2
    * Clean up matrix build (make build args relationship with the build script more clear)
    * Use sudo with travis-ci
---
 .travis.yml | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 6700b62..5a97b50 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,32 +1,32 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more contributor license
-# agreements. See the NOTICE file distributed with this work for additional information regarding
-# copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance with the License. You may obtain a
-# copy of the License at
+#  Licensed to the Apache Software Foundation (ASF) under one or more
+#  contributor license agreements.  See the NOTICE file distributed with
+#  this work for additional information regarding copyright ownership.
+#  The ASF licenses this file to You under the Apache License, Version 2.0
+#  (the "License"); you may not use this file except in compliance with
+#  the License.  You may obtain a copy of the License at
 #
-#    http://www.apache.org/licenses/LICENSE-2.0
+#      http://www.apache.org/licenses/LICENSE-2.0
 #
-# Unless required by applicable law or agreed to in writing, software distributed under the License
-# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
-# or implied. See the License for the specific language governing permissions and limitations under
-# the License.
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+
+# requiring sudo forces Travis to build in an environment with more RAM
+sudo: required
 language: java
-notifications:
-  irc:
-    channels:
-      - "chat.freenode.net#fluo"
-    use_notice: true
-    on_success: change
-    on_failure: always
-    skip_join: true
+# speed up builds; don't use cache with default install step
 cache:
   directories:
     - $HOME/.m2
 install: echo NOOP Skipping pre-fetch of Maven dependencies
 jdk:
   - openjdk8
+before_script:
+  - unset _JAVA_OPTIONS
 env:
-  - ADDITIONAL_MAVEN_OPTS=
-  - ADDITIONAL_MAVEN_OPTS=-Daccumulo.version=1.9.1
+  - BUILD_ARGS="clean verify javadoc:jar"
+  - BUILD_ARGS="clean verify javadoc:jar -Daccumulo.version=1.9.2"
 script:
-  - mvn clean verify javadoc:jar $ADDITIONAL_MAVEN_OPTS
+  - mvn $BUILD_ARGS