mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 08:47:42 -05: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)
|