2012-11-28 13:58:14 -08:00
|
|
|
language: go
|
|
|
|
|
2018-10-16 00:41:45 -07:00
|
|
|
# Whenever the Go version is updated here, .circleci/config.yml and .promu.yml
|
|
|
|
# should also be updated.
|
2013-06-12 09:45:39 -07:00
|
|
|
go:
|
2019-03-14 09:40:57 -07:00
|
|
|
- 1.12.x
|
2013-06-12 09:45:39 -07:00
|
|
|
|
2016-09-15 14:05:56 -07:00
|
|
|
go_import_path: github.com/prometheus/prometheus
|
|
|
|
|
2019-03-13 00:58:11 -07:00
|
|
|
# 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
|
|
|
|
|
2012-11-28 13:58:14 -08:00
|
|
|
script:
|
2018-11-09 02:31:36 -08:00
|
|
|
- make check_license style unused test staticcheck check_assets
|
2018-10-23 03:55:53 -07:00
|
|
|
- git diff --exit-code
|