mirror of https://github.com/go-gitea/gitea
Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
729 B
37 lines
729 B
6 years ago
|
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 ]
|