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