DRILL-5729 explicitly made the travis container use openjdk7 to fix the build.
close apache/drill#913
Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/33f17aab
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/33f17aab
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/33f17aab
Branch: refs/heads/master
Commit: 33f17aabadff5bf5f546762a9d0fb63edbd725f9
Parents: 75c3513
Author: Timothy Farkas <timothyfarkas@apache.org>
Authored: Thu Aug 17 16:37:24 2017 -0700
Committer: Aman Sinha <asinha@maprtech.com>
Committed: Sat Sep 2 13:37:51 2017 -0700
----------------------------------------------------------------------
.travis.yml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/drill/blob/33f17aab/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 4032aab..a94ee96 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,8 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-sudo: false
before_install: git fetch --unshallow
language: java
-install: mvn install --batch-mode -DskipTests=true -Dmaven.javadoc.skip=true -Dsource.skip=true
> mvn_install.log || (cat mvn_install.log && false)
-script: mvn package -DskipTests=true
+jdk:
+ - openjdk7
+install: MAVEN_OPTS="-Xms1G -Xmx1G" mvn install --batch-mode -DskipTests=true -Dmaven.javadoc.skip=true
-Dmaven.source.skip=true
+script: echo "Done"
|