Add ci and improve README #12

Merged
lunny merged 2 commits from lunny/add_ci into master 2018-04-26 14:02:25 +00:00
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# SQL builder
[![CircleCI](https://circleci.com/gh/go-xorm/builder/tree/master.svg?style=svg)](https://circleci.com/gh/go-xorm/builder/tree/master)
[![CircleCI](https://circleci.com/gh/go-xorm/builder/tree/master.svg?style=svg)](https://circleci.com/gh/go-xorm/builder/tree/master) [![codecov](https://codecov.io/gh/go-xorm/builder/branch/master/graph/badge.svg)](https://codecov.io/gh/go-xorm/builder)
[![](https://goreportcard.com/badge/github.com/go-xorm/builder)](https://goreportcard.com/report/github.com/go-xorm/builder)
Package builder is a lightweight and fast SQL builder for Go and XORM.

View File

@ -9,4 +9,6 @@ test:
override:
# './...' is a relative pattern which means all subdirectories
- golint ./...
- go test -v -race
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
post:
- bash <(curl -s https://codecov.io/bash)