Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ addons:
- gcc-4.9 # Needed for C++11
- g++-4.9 # Needed for C++11
- gdb
- gcov
- ccache
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed gcov because travis cannot find the package. I checked on packages.ubuntu.com and a search shows that gcov is part of the gcc package.

I believe this is an already existing issue with travis, which was introduced when dist was changed from trusty to precise in commit 5d12999 (the Arrow page on github shows error as Travis badge)

- cmake
- valgrind
Expand Down Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions ci/travis_script_java.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

set -e

JAVA_DIR=${TRAVIS_BUILD_DIR}/java

pushd $JAVA_DIR

mvn -B test

popd
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down