Skip to content
This repository was archived by the owner on Jun 14, 2019. It is now read-only.

Commit ef80bec

Browse files
authored
add drone ci (#36)
* add drone ci * add parallel piplines * remove group * remove comment * remove comment * remove wrong codecov config * parallel drone * remove parallel * use matrix on drone * drone add codecov * circleci -> gitci.cn
1 parent 395bcf3 commit ef80bec

File tree

3 files changed

+38
-31
lines changed

3 files changed

+38
-31
lines changed

.circleci/config.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.drone.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
workspace:
2+
base: /go
3+
path: src/github.com/go-xorm/builder
4+
5+
clone:
6+
git:
7+
image: plugins/git:next
8+
depth: 50
9+
tags: true
10+
11+
matrix:
12+
GO_VERSION:
13+
- 1.8
14+
- 1.9
15+
- 1.10
16+
- 1.11
17+
18+
pipeline:
19+
test:
20+
image: golang:${GO_VERSION}
21+
commands:
22+
- go get -u github.com/golang/lint/golint
23+
- go get -u github.com/stretchr/testify/assert
24+
- go get -u github.com/go-xorm/sqlfiddle
25+
- golint ./...
26+
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
27+
when:
28+
event: [ push, tag, pull_request ]
29+
30+
codecov:
31+
image: robertstettner/drone-codecov
32+
group: build
33+
secrets: [ codecov_token ]
34+
files:
35+
- coverage.txt
36+
when:
37+
event: [ push, pull_request ]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SQL builder
22

3-
[![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)
3+
[![GitCI.cn](https://gitci.cn/api/badges/go-xorm/builder/status.svg)](https://gitci.cn/go-xorm/builder) [![codecov](https://codecov.io/gh/go-xorm/builder/branch/master/graph/badge.svg)](https://codecov.io/gh/go-xorm/builder)
44
[![](https://goreportcard.com/badge/github.com/go-xorm/builder)](https://goreportcard.com/report/github.com/go-xorm/builder)
55

66
Package builder is a lightweight and fast SQL builder for Go and XORM.

0 commit comments

Comments
 (0)