mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 17:49:20 +08:00
d77176912b
* Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor
24 lines
485 B
YAML
24 lines
485 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.6
|
|
|
|
before_install:
|
|
- go get -v golang.org/x/tools/cmd/vet
|
|
- go get -v golang.org/x/tools/cmd/cover
|
|
- go get -v github.com/golang/lint/golint
|
|
|
|
install:
|
|
- go install -race -v std
|
|
- go get -race -t -v ./...
|
|
- go install -race -v ./...
|
|
|
|
script:
|
|
- go vet ./...
|
|
- $HOME/gopath/bin/golint .
|
|
- go test -cpu=2 -race -v ./...
|
|
- go test -cpu=2 -covermode=atomic -coverprofile=coverage.txt ./
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|