accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [accumulo] branch master updated: Update travis-ci settings (#672)
Date Wed, 03 Oct 2018 23:33:51 GMT
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 0f0bf04  Update travis-ci settings (#672)
0f0bf04 is described below

commit 0f0bf04fc4870da11a49c02f9ac32b2c8ce359ef
Author: Christopher Tubbs <ctubbsii@apache.org>
AuthorDate: Wed Oct 3 19:33:47 2018 -0400

    Update travis-ci settings (#672)
    
    * Remove IRC notifications (nobody lurks in IRC anymore, so this isn't useful)
    * Unset _JAVA_OPTIONS to restore default Java options, so plugins don't
      run out of memory and cause the container to get killed
    * Remove forking for unit tests; the container doesn't have a lot of CPU
      to fork anyway, and removing this helps with excessive memory utilization
    * Use openjdk8
    * Use sudo-enabled containers for travis-ci
---
 .travis.yml | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 5f6b159..42c2ab0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,25 +12,21 @@
 #  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#accumulo"
-    use_notice: true
-    on_success: change
-    on_failure: always
-    template:
-      - "%{result} %{repository_slug} %{branch} (%{build_url}): %{message}"
-# speed up builds; don't use with default install step
+# 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:
-  - oraclejdk8
+  - openjdk8
+before_script:
+  - unset _JAVA_OPTIONS
 env:
-  - BUILD_ARGS="clean verify javadoc:jar -DskipITs -DforkCount=1C"  # main build of unit
tests and javadoc
+  - BUILD_ARGS="clean verify javadoc:jar -DskipITs"  # main build of unit tests and javadoc
   - BUILD_ARGS="clean compile -Dhadoop.version=3.0.3 -Dzookeeper.version=3.4.12"  # quick
compile to verify older API
 script:
   - mvn $BUILD_ARGS


Mime
View raw message