Repository: arrow Updated Branches: refs/heads/master e316b3f76 -> 703546787
Add java support to Travis CI Add java support to Travis CI using oracle JDK7 on a Linux host. Project: http://git-wip-us.apache.org/repos/asf/arrow/repo Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/70354678 Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/70354678 Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/70354678 Branch: refs/heads/master Commit: 703546787e049f1abbc96082f60fe4d08731a5ce Parents: e316b3f Author: Laurent Goujon <[email protected]> Authored: Wed Apr 13 22:36:38 2016 -0700 Committer: Steven Phillips <[email protected]> Committed: Fri May 20 13:23:44 2016 -0700 ---------------------------------------------------------------------- .travis.yml | 6 +++++- ci/travis_script_java.sh | 11 +++++++++++ java/pom.xml | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/arrow/blob/70354678/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index 646f80f..7c41837 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,6 @@ addons: - gcc-4.9 # Needed for C++11 - g++-4.9 # Needed for C++11 - gdb - - gcov - ccache - cmake - valgrind @@ -60,6 +59,11 @@ matrix: before_install: script: - $TRAVIS_BUILD_DIR/ci/travis_conda_build.sh + - language: java + os: linux + jdk: oraclejdk7 + script: + - $TRAVIS_BUILD_DIR/ci/travis_script_java.sh before_install: - ulimit -c unlimited -S http://git-wip-us.apache.org/repos/asf/arrow/blob/70354678/ci/travis_script_java.sh ---------------------------------------------------------------------- diff --git a/ci/travis_script_java.sh b/ci/travis_script_java.sh new file mode 100755 index 0000000..2d11eae --- /dev/null +++ b/ci/travis_script_java.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -e + +JAVA_DIR=${TRAVIS_BUILD_DIR}/java + +pushd $JAVA_DIR + +mvn -B test + +popd http://git-wip-us.apache.org/repos/asf/arrow/blob/70354678/java/pom.xml ---------------------------------------------------------------------- diff --git a/java/pom.xml b/java/pom.xml index 4ee4ff4..ea42894 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -297,7 +297,7 @@ <artifactId>maven-surefire-plugin</artifactId> <version>2.17</version> <configuration> - <argLine>-ea</argLine> + <enableAssertions>true</enableAssertions> <forkCount>${forkCount}</forkCount> <reuseForks>true</reuseForks> <systemPropertyVariables>
