gogs/.travis.yml
ᴜɴᴋɴᴡᴏɴ 17ae0ed3ee
conf: overhaul settings (#5953)
* Overhaul cache settings

* Overhaul HTTP settings

* conf: overhaul more settings

* log: make LGTM happy

* travis: upload report to Codecov

* Add codecov.yml
2020-02-29 16:29:17 +08:00

21 lines
356 B
YAML

os: linux
language: go
go:
- 1.13.x
- 1.14.x
go_import_path: gogs.io/gogs
env:
- GO111MODULE=on
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libpam-dev
script:
- go build -v -tags "pam"
- go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
after_success:
- bash <(curl -s https://codecov.io/bash)