mirror of
https://github.com/go-gitea/gitea
synced 2024-12-25 01:54:26 +00: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
23 lines
489 B
YAML
Vendored
23 lines
489 B
YAML
Vendored
sudo: false
|
|
|
|
language: go
|
|
|
|
go:
|
|
- "1.9.x"
|
|
- "1.10.x"
|
|
- "1.11.x"
|
|
|
|
script:
|
|
- go get github.com/mattn/goveralls
|
|
- go get -u github.com/kisielk/errcheck
|
|
- go test -v $(go list ./... | grep -v vendor/)
|
|
- go test -race
|
|
- go vet
|
|
- errcheck
|
|
- go test -coverprofile=profile.out -covermode=count
|
|
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then goveralls -service=travis-ci -coverprofile=profile.out -repotoken $COVERALLS; fi'
|
|
|
|
notifications:
|
|
email:
|
|
- marty.schoch@gmail.com
|