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.
16 lines
465 B
16 lines
465 B
language: go
|
|
sudo: false
|
|
go:
|
|
- 1.10.x
|
|
install:
|
|
- go get -v github.com/golang/lint/golint
|
|
- go get golang.org/x/tools/cmd/cover
|
|
- go get github.com/mattn/goveralls
|
|
- go get -d -t -v ./...
|
|
- go build -v ./...
|
|
script:
|
|
- go vet ./...
|
|
- $HOME/gopath/bin/golint .
|
|
- go test -v -race ./...
|
|
- go test -v -covermode=count -coverprofile=cov.out
|
|
- $HOME/gopath/bin/goveralls -coverprofile=cov.out -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true
|
|
|