Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 93B69200CB6 for ; Thu, 29 Jun 2017 09:06:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 922AB160BED; Thu, 29 Jun 2017 07:06:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D88CC160BDF for ; Thu, 29 Jun 2017 09:06:17 +0200 (CEST) Received: (qmail 98219 invoked by uid 500); 29 Jun 2017 07:06:17 -0000 Mailing-List: contact commits-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list commits@flink.apache.org Received: (qmail 98210 invoked by uid 99); 29 Jun 2017 07:06:16 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jun 2017 07:06:16 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A9E3FDFBA2; Thu, 29 Jun 2017 07:06:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: chesnay@apache.org To: commits@flink.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: flink git commit: [FLINK-7004] Switch to Travis Trusty image Date: Thu, 29 Jun 2017 07:06:16 +0000 (UTC) archived-at: Thu, 29 Jun 2017 07:06:18 -0000 Repository: flink Updated Branches: refs/heads/release-1.2 bd6277b10 -> 3fcc959dd [FLINK-7004] Switch to Travis Trusty image - enable sudo for more memory - increase java heap size - replace usage of oraclejdk7 since it is no longer supporter - manually install maven 3.2.5 Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/3fcc959d Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/3fcc959d Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/3fcc959d Branch: refs/heads/release-1.2 Commit: 3fcc959dd4d3c65436b44bb22848cf2565461de2 Parents: bd6277b Author: zentol Authored: Mon Jun 26 11:44:45 2017 +0200 Committer: zentol Committed: Wed Jun 28 19:23:19 2017 +0200 ---------------------------------------------------------------------- .travis.yml | 17 +++++++++++++---- pom.xml | 4 +++- 2 files changed, 16 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/3fcc959d/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index 1445f8d..84dffcb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,8 @@ # s3 deployment based on http://about.travis-ci.org/blog/2012-12-18-travis-artifacts/ -# send to container based infrastructure: http://docs.travis-ci.com/user/workers/container-based-infrastructure/ -sudo: false +# send to fully-virtualized infrastructure: https://docs.travis-ci.com/user/trusty-ci-environment/ +sudo: required +dist: trusty #cache: # directories: @@ -30,9 +31,9 @@ matrix: - jdk: "openjdk7" env: PROFILE="-Dhadoop.version=2.4.1 -Dscala-2.11 -Pinclude-yarn-tests,flink-fast-tests-b,include-kinesis" - - jdk: "oraclejdk7" + - jdk: "openjdk7" env: PROFILE="-Dhadoop.version=2.3.0 -Pflink-fast-tests-a,include-kinesis" - - jdk: "oraclejdk7" + - jdk: "openjdk7" env: PROFILE="-Dhadoop.version=2.3.0 -Pflink-fast-tests-b,include-kinesis" @@ -52,6 +53,14 @@ env: before_script: - "gem install --no-document --version 0.8.9 faraday " +# Install maven 3.2.5 since trusty uses 3.3.9 for which shading is broken +before_install: + - "wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip" + - "unzip -qq apache-maven-3.2.5-bin.zip" + - "rm apache-maven-3.2.5-bin.zip" + - "export M2_HOME=$PWD/apache-maven-3.2.5" + - "export PATH=$M2_HOME/bin:$PATH" + # We run mvn and monitor its output. If there is no output for the specified number of seconds, we # print the stack traces of all running Java processes. script: "./tools/travis_mvn_watchdog.sh 300" http://git-wip-us.apache.org/repos/asf/flink/blob/3fcc959d/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index c1e64ab..79a8a8c 100644 --- a/pom.xml +++ b/pom.xml @@ -956,6 +956,8 @@ under the License. build-target/** tools/artifacts/** + + apache-maven-3.2.5/** **/.idea/** @@ -1008,7 +1010,7 @@ under the License. 0${surefire.forkNumber} ${log4j.configuration} - -Xms256m -Xmx800m -Dmvn.forkNumber=${surefire.forkNumber} -XX:-UseGCOverheadLimit + -Xms256m -Xmx2048m -Dmvn.forkNumber=${surefire.forkNumber} -XX:-UseGCOverheadLimit