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-09-13 05:55:18 -07:00
|
|
|
- 1.13.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
|
2019-08-13 01:34:14 -07:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install make; fi
|
2019-03-13 00:58:11 -07:00
|
|
|
|
2012-11-28 13:58:14 -08:00
|
|
|
script:
|
2019-04-24 05:18:40 -07:00
|
|
|
- make check_license style unused test lint check_assets
|
2018-10-23 03:55:53 -07:00
|
|
|
- git diff --exit-code
|