prometheus/.travis.yml

20 lines
556 B
YAML
Raw Normal View History

2012-11-28 21:58:14 +00:00
language: go
# 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:
- 1.12.x
2013-06-12 16:45:39 +00:00
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
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install make; fi
2012-11-28 21:58:14 +00:00
script:
- make check_license style unused test lint check_assets
- git diff --exit-code