mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 16:38:37 +00:00
24 lines
334 B
YAML
24 lines
334 B
YAML
|
language: go
|
||
|
sudo: false
|
||
|
|
||
|
go_import_path: go.uber.org/zap
|
||
|
env:
|
||
|
global:
|
||
|
- TEST_TIMEOUT_SCALE=10
|
||
|
- GO111MODULE=on
|
||
|
|
||
|
matrix:
|
||
|
include:
|
||
|
- go: 1.13.x
|
||
|
- go: 1.14.x
|
||
|
env: LINT=1
|
||
|
|
||
|
script:
|
||
|
- test -z "$LINT" || make lint
|
||
|
- make test
|
||
|
- make bench
|
||
|
|
||
|
after_success:
|
||
|
- make cover
|
||
|
- bash <(curl -s https://codecov.io/bash)
|