This is an automated email from the ASF dual-hosted git repository.

iemejia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/master by this push:
     new 8643e3b  AVRO-2296: Add Java 11 build in the CI server
8643e3b is described below

commit 8643e3bd73cab8dbbbcac1203a19c2d2cdc62cfe
Author: Fokko Driesprong <[email protected]>
AuthorDate: Wed Jan 2 14:08:21 2019 +0100

    AVRO-2296: Add Java 11 build in the CI server
---
 .travis.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index defdcfb..c4b3cbb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,6 +24,10 @@ services:
 
 language: generic
 
+env:
+  - JAVA=8
+  - JAVA=11
+
 before_install:
   - sudo apt-get -q update
   - sudo apt-get -q install --no-install-recommends -y curl git gnupg-agent 
locales pinentry-curses pkg-config rsync software-properties-common
@@ -31,4 +35,6 @@ before_install:
   - sudo rm -rf /var/lib/apt/lists/*
   - curl -L https://www-us.apache.org/dist/yetus/0.8.0/yetus-0.8.0-bin.tar.gz 
| tar xvz -C /tmp/
 
-script: /tmp/yetus-0.8.0/bin/test-patch --plugins=buildtest 
--user-plugins=share/precommit/ --run-tests --empty-patch --docker 
--dockerfile=share/docker/Dockerfile --dirty-workspace --verbose=true
+script:
+  - sed 's/java:8-jdk/java:'${JAVA}'-jdk/' share/docker/Dockerfile
+  - /tmp/yetus-0.8.0/bin/test-patch --plugins=buildtest 
--user-plugins=share/precommit/ --run-tests --empty-patch --docker 
--dockerfile=share/docker/Dockerfile --dirty-workspace --verbose=true

Reply via email to