You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2019/04/26 00:10:49 UTC

[calcite-avatica-go] branch master updated: [CALCITE-3025] Upgrade to Go 1.12 and update .travis.yml to test with dep using Go 1.12 and Go 1.11

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

francischuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git


The following commit(s) were added to refs/heads/master by this push:
     new 21cc342  [CALCITE-3025] Upgrade to Go 1.12 and update .travis.yml to test with dep using Go 1.12 and Go 1.11
21cc342 is described below

commit 21cc3424e90935150b5362a3705f01f4296c30c1
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Fri Apr 26 09:55:59 2019 +1000

    [CALCITE-3025] Upgrade to Go 1.12 and update .travis.yml to test with dep using Go 1.12 and Go 1.11
---
 .travis.yml | 19 ++++++++++---------
 Dockerfile  |  2 +-
 2 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index b6e1c8f..e694d56 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,8 +25,8 @@ branches:
     - /^[0-9]+-.*$/
 
 go:
+  - "1.12.x"
   - "1.11.x"
-  - "1.10.x"
 
 sudo: required
 
@@ -37,17 +37,18 @@ env:
   global:
     - PHOENIX_HOST=http://localhost:8765
     - HSQLDB_HOST=http://localhost:8765
-    - GO111MODULE=on
   matrix:
-    - AVATICA_FLAVOR=PHOENIX IMAGE=boostport/hbase-phoenix-all-in-one:1.3-4.13
-    - AVATICA_FLAVOR=PHOENIX IMAGE=boostport/hbase-phoenix-all-in-one:1.4-4.14
-    - AVATICA_FLAVOR=PHOENIX IMAGE=boostport/hbase-phoenix-all-in-one:2.0-5.0
-    - AVATICA_FLAVOR=HSQLDB IMAGE=f21global/calcite-avatica:1.11.0-hypersql
-    - AVATICA_FLAVOR=HSQLDB IMAGE=f21global/calcite-avatica:1.12.0-hypersql
-    - AVATICA_FLAVOR=HSQLDB IMAGE=apache/calcite-avatica-hypersql:1.13.0
+    - AVATICA_FLAVOR=PHOENIX IMAGE=boostport/hbase-phoenix-all-in-one:1.3-4.13 GO111MODULE=on
+    - AVATICA_FLAVOR=PHOENIX IMAGE=boostport/hbase-phoenix-all-in-one:1.4-4.14 GO111MODULE=on
+    - AVATICA_FLAVOR=PHOENIX IMAGE=boostport/hbase-phoenix-all-in-one:2.0-5.0 GO111MODULE=on
+    - AVATICA_FLAVOR=PHOENIX IMAGE=boostport/hbase-phoenix-all-in-one:2.0-5.0 GO111MODULE=off
+    - AVATICA_FLAVOR=HSQLDB IMAGE=f21global/calcite-avatica:1.11.0-hypersql GO111MODULE=on
+    - AVATICA_FLAVOR=HSQLDB IMAGE=f21global/calcite-avatica:1.12.0-hypersql GO111MODULE=on
+    - AVATICA_FLAVOR=HSQLDB IMAGE=apache/calcite-avatica-hypersql:1.13.0 GO111MODULE=on
+    - AVATICA_FLAVOR=HSQLDB IMAGE=apache/calcite-avatica-hypersql:1.13.0 GO111MODULE=off
 
 before_install:
-  - if [ $TRAVIS_GO_VERSION == "1.10.x" ]; then
+  - if [ $GO111MODULE == "off" ]; then
       go get -u github.com/golang/dep/cmd/dep;
       dep ensure -v;
     fi
diff --git a/Dockerfile b/Dockerfile
index 1a908d9..d1645d7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM golang:1.11-alpine as base
+FROM golang:1.12-alpine as base
 
 ENV DEV ""