mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-16 02:09:18 +08:00
28 lines
348 B
YAML
28 lines
348 B
YAML
|
sudo: false
|
||
|
language: go
|
||
|
go_import_path: go.uber.org/atomic
|
||
|
|
||
|
env:
|
||
|
global:
|
||
|
- GO111MODULE=on
|
||
|
|
||
|
matrix:
|
||
|
include:
|
||
|
- go: 1.12.x
|
||
|
- go: 1.13.x
|
||
|
env: LINT=1
|
||
|
|
||
|
cache:
|
||
|
directories:
|
||
|
- vendor
|
||
|
|
||
|
before_install:
|
||
|
- go version
|
||
|
|
||
|
script:
|
||
|
- test -z "$LINT" || make lint
|
||
|
- make cover
|
||
|
|
||
|
after_success:
|
||
|
- bash <(curl -s https://codecov.io/bash)
|