mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-16 18:44:05 -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)
|