mirror of https://github.com/go-gitea/gitea.git
32 lines
1.3 KiB
YAML
32 lines
1.3 KiB
YAML
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
go:
|
|
- 1.14.x
|
|
- 1.x
|
|
arch:
|
|
- amd64
|
|
jobs:
|
|
include:
|
|
# only run fast tests on ppc64le
|
|
- go: 1.x
|
|
arch: ppc64le
|
|
script:
|
|
- gotestsum -f short-verbose -- ./...
|
|
|
|
# include linting job, but only for latest go version and amd64 arch
|
|
- go: 1.x
|
|
arch: amd64
|
|
install:
|
|
go get github.com/golangci/golangci-lint/cmd/golangci-lint
|
|
script:
|
|
- golangci-lint run --new-from-rev master
|
|
|
|
install:
|
|
- GO111MODULE=off go get -u gotest.tools/gotestsum
|
|
language: go
|
|
notifications:
|
|
slack:
|
|
secure: zE5AtIYTpYfQPnTzP+EaQPN7JKtfFAGv6PrJqoIZLOXa8B6zGb6+J1JRNNxWi7faWbyJOxa4FSSsuPsKZMycUK6wlLFIdhDxwqeo7Ew8r6rdZKdfUHQggfNS9wO79ARoNYUDHtmnaBUS+eWSM1YqSc4i99QxyyfuURLOeAaA/q14YbdlTlaw3lrZ0qT92ot1FnVGNOx064zuHtFeUf+jAVRMZ6Q3rvqllwIlPszE6rmHGXBt2VoJxRaBetdwd7FgkcYw9FPXKHhadwC7/75ZAdmxIukhxNMw4Tr5NuPcqNcnbYLenDP7B3lssGVIrP4BRSqekS1d/tqvdvnnFWHMwrNCkSnSc065G5+qWTlXKAemIclgiXXqE2furBNLm05MDdG8fn5epS0UNarkjD+zX336RiqwBlOX4KbF+vPyqcO98CsN0lnd+H6loc9reiTHs37orFFpQ+309av9be2GGsHUsRB9ssIyrewmhAccOmkRtr2dVTZJNFQwa5Kph5TNJuTjnZEwG/xUkEX2YSfwShOsb062JWiflV6PJdnl80pc9Tn7D5sO5Bf9DbijGRJwwP+YiiJtwtr+vsvS+n4sM0b5eqm4UoRo+JJO8ffoJtHS7ItuyRbVQCwEPJ4221WLcf5PquEEDdAPwR+K4Gj8qTXqTDdxOiES1xFUKVgmzhI=
|
|
script:
|
|
- gotestsum -f short-verbose -- -race -coverprofile=coverage.txt -covermode=atomic ./...
|