This repository has been archived by the owner on Jun 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
Showing
3 changed files
with
38 additions
and
31 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
workspace: | ||
base: /go | ||
path: src/github.com/go-xorm/builder | ||
|
||
clone: | ||
git: | ||
image: plugins/git:next | ||
depth: 50 | ||
tags: true | ||
|
||
matrix: | ||
GO_VERSION: | ||
- 1.8 | ||
- 1.9 | ||
- 1.10 | ||
- 1.11 | ||
|
||
pipeline: | ||
test: | ||
image: golang:${GO_VERSION} | ||
commands: | ||
- go get -u github.com/golang/lint/golint | ||
- go get -u github.com/stretchr/testify/assert | ||
- go get -u github.com/go-xorm/sqlfiddle | ||
- golint ./... | ||
- go test -v -race -coverprofile=coverage.txt -covermode=atomic | ||
when: | ||
event: [ push, tag, pull_request ] | ||
|
||
codecov: | ||
image: robertstettner/drone-codecov | ||
group: build | ||
secrets: [ codecov_token ] | ||
files: | ||
- coverage.txt | ||
when: | ||
event: [ push, pull_request ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters