mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
f5d54e5be6
* *: enable golangci-lint Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Remove freebsd from supported platforms for lint Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Update CONTRIBUTING.md Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Update CONTRIBUTING.md Signed-off-by: Simon Pasquier <spasquie@redhat.com> * Add common-staticcheck for compatibility Signed-off-by: Simon Pasquier <spasquie@redhat.com>
19 lines
485 B
YAML
19 lines
485 B
YAML
language: go
|
|
|
|
# Whenever the Go version is updated here, .circleci/config.yml and .promu.yml
|
|
# should also be updated.
|
|
go:
|
|
- 1.12.x
|
|
|
|
go_import_path: github.com/prometheus/prometheus
|
|
|
|
# This ensures that the local cache is filled before running the CI.
|
|
# travis_retry retries the command 3 times if it fails as we've experienced
|
|
# random issues on Travis.
|
|
before_install:
|
|
- travis_retry make deps
|
|
|
|
script:
|
|
- make check_license style unused test lint check_assets
|
|
- git diff --exit-code
|