mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
fd24a1c1a8
removed the "check_license" by mistake so adding it again. Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
25 lines
533 B
YAML
25 lines
533 B
YAML
# sudo is enabled because it provides more memory which was needed to run go test -race
|
|
sudo: required
|
|
dist: trusty
|
|
language: go
|
|
os:
|
|
- windows
|
|
- linux
|
|
- osx
|
|
|
|
go:
|
|
- 1.10.x
|
|
- 1.11.x
|
|
|
|
go_import_path: github.com/prometheus/tsdb
|
|
|
|
before_install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install make; fi
|
|
|
|
install:
|
|
- go get -v -t ./...
|
|
|
|
script:
|
|
# `staticcheck` target is omitted due to linting errors
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then make test; else make check_license style unused test; fi
|