You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by hi...@apache.org on 2016/10/24 20:58:50 UTC

tez git commit: TEZ-3487. Improvements in travis yml file to get builds to work. (Darion Yaphet via hitesh)

Repository: tez
Updated Branches:
  refs/heads/master 1cd62dedc -> 83d7898a3


TEZ-3487. Improvements in travis yml file to get builds to work. (Darion Yaphet via hitesh)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/83d7898a
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/83d7898a
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/83d7898a

Branch: refs/heads/master
Commit: 83d7898a31ef35010fa75d4b9c6332cfbb65f01f
Parents: 1cd62de
Author: Hitesh Shah <hi...@apache.org>
Authored: Mon Oct 24 13:58:27 2016 -0700
Committer: Hitesh Shah <hi...@apache.org>
Committed: Mon Oct 24 13:58:27 2016 -0700

----------------------------------------------------------------------
 .travis.yml                     | 31 +++++++++++++++++++++++++++++++
 CHANGES.txt                     |  1 +
 build-tools/install-protobuf.sh | 22 ++++++++++++++++++++++
 pom.xml                         |  1 -
 4 files changed, 54 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/83d7898a/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index dff5f3a..7b54002 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1 +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
+#
+# 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.
+
 language: java
+
+sudo: required
+
+env: MAVEN_OPTS="-Xmx2G -XX:MaxPermSize=512M"
+
+jdk:
+  - oraclejdk8
+  - openjdk8
+
+before_install:
+  - ./build-tools/install-protobuf.sh
+
+install:
+  - mvn clean package -DskipTests=true -Dmaven.javadoc.skip=true
+

http://git-wip-us.apache.org/repos/asf/tez/blob/83d7898a/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 1afcacb..fc0899c 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -7,6 +7,7 @@ INCOMPATIBLE CHANGES
 
 ALL CHANGES:
 
+  TEZ-3487. Improvements in travis yml file to get builds to work.
   TEZ-3405. Support ability for AM to kill itself if there is no client heartbeating to it.
   TEZ-3483. Create basic travis yml file for Tez.
   TEZ-3452. Auto-reduce parallelism calculation can overflow with large inputs

http://git-wip-us.apache.org/repos/asf/tez/blob/83d7898a/build-tools/install-protobuf.sh
----------------------------------------------------------------------
diff --git a/build-tools/install-protobuf.sh b/build-tools/install-protobuf.sh
new file mode 100755
index 0000000..902049d
--- /dev/null
+++ b/build-tools/install-protobuf.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+# 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
+#
+# 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.
+
+set -ex
+wget https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.gz
+tar -xzvf protobuf-2.5.0.tar.gz
+cd protobuf-2.5.0 && ./configure --prefix=/usr && make && sudo make install

http://git-wip-us.apache.org/repos/asf/tez/blob/83d7898a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 09b5ed3..369767f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -820,7 +820,6 @@
               <!-- To make developer life easy. Source wont have these files -->
               <exclude>**/*.diff</exclude>
               <exclude>*.patch</exclude>
-              <exclude>*.travis.yml</exclude>
               <!-- .png files constitute images required for documentation. .pptx contain the sources for images -->
               <exclude>**/*.png</exclude>
               <exclude>**/*.pptx</exclude>