Repository: incubator-samza
Updated Branches:
  refs/heads/master a7b1282b0 -> 53ce0bda6


SAMZA-386: Use Travis for continuous integration


Project: http://git-wip-us.apache.org/repos/asf/incubator-samza/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-samza/commit/53ce0bda
Tree: http://git-wip-us.apache.org/repos/asf/incubator-samza/tree/53ce0bda
Diff: http://git-wip-us.apache.org/repos/asf/incubator-samza/diff/53ce0bda

Branch: refs/heads/master
Commit: 53ce0bda676e5da4edf425d8b992be55d1bc7f41
Parents: a7b1282
Author: Jakob Homan <[email protected]>
Authored: Sat Aug 23 20:57:51 2014 -0700
Committer: Jakob Homan <[email protected]>
Committed: Sat Aug 23 20:57:51 2014 -0700

----------------------------------------------------------------------
 .travis.yml  | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 README.md    |  2 ++
 build.gradle | 21 ++++++++++++++++-----
 3 files changed, 67 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-samza/blob/53ce0bda/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..0fceb8b
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,49 @@
+#
+# 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
+
+jdk:
+  - oraclejdk7
+  - oraclejdk8
+
+env:
+  matrix:
+    - SCALA_VERSION='-PscalaVersion=2.9.2'
+    - SCALA_VERSION='-PscalaVersion=2.10'
+
+matrix:
+  exclude:
+    - env: SCALA_VERSION='-PscalaVersion=2.9.2'
+      jdk: oraclejdk8
+
+script: ./gradlew $SCALA_VERSION --stacktrace check
+
+# no install since gradlew check does all the dependency downloads as part of 
the check command
+install: true
+
+notifications:
+  irc:
+    channels:
+      - "irc.freenode.org#samza"
+    on_success: always
+    on_failure: always
+    template:
+      - "%{repository} (%{branch}:%{commit} by %{author}): %{message} 
(%{build_url})"
+  email:
+    - [email protected]

http://git-wip-us.apache.org/repos/asf/incubator-samza/blob/53ce0bda/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 48a7479..fc30a3a 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,8 @@ Samza builds with [Scala](http://www.scala-lang.org/) 2.10 
and [YARN](http://had
 
 ### Testing Samza
 
+[![Build 
Status](https://travis-ci.org/apache/incubator-samza.svg?branch=master)](https://travis-ci.org/apache/incubator-samza)
+
 To run all tests:
 
     ./gradlew clean test

http://git-wip-us.apache.org/repos/asf/incubator-samza/blob/53ce0bda/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index ef527d9..d05dc8d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -91,10 +91,21 @@ allprojects {
   }
 }
 
-
 subprojects {
   apply plugin: 'eclipse'
   apply plugin: 'project-report'
+
+  tasks.withType(Test) {
+    test {
+      testLogging {
+        showStackTraces = true
+        showExceptions = true
+        showCauses = true
+        displayGranularity = maxGranularity
+        exceptionFormat = 'full'
+      }
+    }
+  }
 }
 
 project(':samza-api') {
@@ -155,8 +166,8 @@ project(":samza-kafka_$scalaVersion") {
 
   test {
     // Bump up the heap so we can start ZooKeeper and Kafka brokers.
-    minHeapSize = "4096m"
-    maxHeapSize = "4096m"
+    minHeapSize = "2560m"
+    maxHeapSize = "2560m"
     jvmArgs = ["-XX:+UseConcMarkSweepGC", "-server", "-d64"]
   }
 }
@@ -365,8 +376,8 @@ project(":samza-test_$scalaVersion") {
     // Bump up the heap so we can start ZooKeeper and Kafka brokers. Also
     // required for TestSamzaContainerPerformance when a high thread count
     // with a lot of inputs is used.
-    minHeapSize = "4096m"
-    maxHeapSize = "4096m"
+    minHeapSize = "2560m"
+    maxHeapSize = "2560m"
     jvmArgs = ["-XX:+UseConcMarkSweepGC", "-server", "-d64"]
 
     // Forward all samza.* system properties to test subprocesses. This is

Reply via email to