Repository: calcite-avatica-go Updated Branches: refs/heads/master bb93a1045 -> 5f775b740
[CALCITE-2372] Add Phoenix 4.14.0 for testing and turn travis.yml into a build matrix Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/commit/5f775b74 Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/tree/5f775b74 Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/diff/5f775b74 Branch: refs/heads/master Commit: 5f775b740f909b3a2160aea3e600ea95afa6411b Parents: bb93a10 Author: Francis Chuang <francischu...@apache.org> Authored: Fri Jun 22 10:12:45 2018 +1000 Committer: francis Chuang <francischu...@apache.org> Committed: Fri Jun 22 10:29:07 2018 +1000 ---------------------------------------------------------------------- .travis.yml | 24 ++++++++++++++---------- moby.yml | 2 +- 2 files changed, 15 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/5f775b74/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index 8f73644..66dc98e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,23 +34,27 @@ services: env: global: - - PHOENIX_IMAGE=boostport/hbase-phoenix-all-in-one:1.3-4.13 - - PHOENIX_HOST=http://localhost:8765 - - HSQLDB_IMAGE=f21global/calcite-avatica:1.11.0-hypersql - - HSQLDB_HOST=http://localhost:8766 + - PHOENIX_HOST=http://localhost:8765 + - HSQLDB_HOST=http://localhost:8765 + matrix: + - AVATICA_FLAVOR=PHOENIX PHOENIX_IMAGE=boostport/hbase-phoenix-all-in-one:1.3-4.13 + - AVATICA_FLAVOR=PHOENIX PHOENIX_IMAGE=boostport/hbase-phoenix-all-in-one:1.4-4.14 + - AVATICA_FLAVOR=HSQLDB HSQLDB_IMAGE=f21global/calcite-avatica:1.11.0-hypersql before_install: - go get -u github.com/golang/dep/cmd/dep - dep ensure -v - - docker pull $PHOENIX_IMAGE - - docker pull $HSQLDB_IMAGE - - docker run -d -p 8765:8765 $PHOENIX_IMAGE - - docker run -d -p 8766:8765 $HSQLDB_IMAGE -u jdbc:hsqldb:mem:public + - if [ $AVATICA_FLAVOR == "PHOENIX" ]; then + docker pull $PHOENIX_IMAGE; + docker run -d -p 8765:8765 $PHOENIX_IMAGE; + elif [ $AVATICA_FLAVOR == "HSQLDB" ]; then + docker pull $HSQLDB_IMAGE; + docker run -d -p 8765:8765 $HSQLDB_IMAGE -u jdbc:hsqldb:mem:public; + fi - docker ps -a script: - - export AVATICA_FLAVOR=HSQLDB && go test -v ./... - - export AVATICA_FLAVOR=PHOENIX && go test -v ./... + - export AVATICA_FLAVOR=$AVATICA_FLAVOR && go test -v ./... git: depth: 10000 http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/5f775b74/moby.yml ---------------------------------------------------------------------- diff --git a/moby.yml b/moby.yml index d1ceefc..0e3c5ee 100644 --- a/moby.yml +++ b/moby.yml @@ -15,7 +15,7 @@ # services: - id: phoenix - image: boostport/hbase-phoenix-all-in-one:1.3-4.13 + image: boostport/hbase-phoenix-all-in-one:1.4-4.14 - id: hsqldb image: f21global/calcite-avatica:1.11.0-hypersql