Repository: calcite-avatica-go Updated Branches: refs/heads/master b9d80926c -> 6378c7f29
Clean up readme and remove wercker 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/6378c7f2 Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/tree/6378c7f2 Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/diff/6378c7f2 Branch: refs/heads/master Commit: 6378c7f298bc47703eed070fb0eadb03a530d827 Parents: b9d8092 Author: Francis Chuang <francis.chu...@boostport.com> Authored: Mon Apr 16 15:11:02 2018 +1000 Committer: Francis Chuang <francis.chu...@boostport.com> Committed: Mon Apr 16 15:11:02 2018 +1000 ---------------------------------------------------------------------- README.md | 9 ++++---- wercker.yml | 63 -------------------------------------------------------- 2 files changed, 4 insertions(+), 68 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/6378c7f2/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 7e97001..7a42090 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,11 @@ limitations under the License. {% endcomment %} --> -# Apache Phoenix/Avatica SQL Driver +# Apache Avatica/Phoenix SQL Driver [![GoDoc](https://godoc.org/github.com/apache/calcite-avatica-go?status.png)](https://godoc.org/github.com/apache/calcite-avatica-go) -[![wercker status](https://app.wercker.com/status/1abd1c7014e780ba7754decadb212451/s/master "wercker status")](https://app.wercker.com/project/byKey/1abd1c7014e780ba7754decadb212451) -[![Coverage Status](https://coveralls.io/repos/github/Boostport/avatica/badge.svg?branch=master)](https://coveralls.io/github/Boostport/avatica?branch=master) +[![Build Status](https://travis-ci.org/apache/calcite-avatica-go.svg?branch=master)](https://travis-ci.org/apache/calcite-avatica-go) -An Apache Phoenix/Avatica driver for Go's [database/sql](http://golang.org/pkg/database/sql) package +An Apache Avatica/Phoenix driver for Go's [database/sql](http://golang.org/pkg/database/sql) package ## Getting started Install using your dependency management tool (we recommend [dep](https://github.com/golang/dep)!): @@ -160,7 +159,7 @@ We recommend using `UTC`, which is the default value of `location`. To run tests, but skip tests in the vendor directory (to avoid running tests for the dependencies), run: ``` -go test $(go list ./... | grep -v /vendor/) +go test -v ./... ``` #### Updating protocol buffer definitions http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/6378c7f2/wercker.yml ---------------------------------------------------------------------- diff --git a/wercker.yml b/wercker.yml deleted file mode 100644 index 87ca442..0000000 --- a/wercker.yml +++ /dev/null @@ -1,63 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to you under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -box: - id: golang:1.10-alpine - cmd: /bin/sh - -no-response-timeout: 20 - -services: - - boostport/hbase-phoenix-all-in-one:1.3-4.13 - -build: - steps: - - - setup-go-workspace - - # Set up enviroment variable - - script: - name: set up environment variables - code: | - export AVATICA_HOST=http://$HBASE_PHOENIX_ALL_IN_ONE_PORT_8765_TCP_ADDR:8765 - - script: - code: | - env - # Gets the dependencies - - script: - name: get dependencies - code: | - apk update - apk add git - go get -u github.com/golang/dep/cmd/dep - dep ensure -v - # Build the project - - script: - name: go build - code: | - go build - # Test the project - - script: - name: go test - code: | - go test -cover -v $(go list ./... | grep -v /vendor/) - # Invoke goveralls - - script: - name: goveralls - code: | - go get -u github.com/go-playground/overalls - go get -u github.com/mattn/goveralls - overalls -project="$WERCKER_GIT_DOMAIN/$WERCKER_GIT_OWNER/$WERCKER_GIT_REPOSITORY" -covermode=set -ignore=.git,vendor,message -debug - GIT_BRANCH=$WERCKER_GIT_BRANCH goveralls -coverprofile=overalls.coverprofile -service=wercker.com -repotoken $COVERALLS_TOKEN