mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-27 14:39:40 -08:00
48c439d26d
fix the tests for `check_license` and `staticcheck` the static check also found some actual bugs. Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
25 lines
490 B
YAML
25 lines
490 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:
|
|
- make deps
|
|
|
|
script:
|
|
# `staticcheck` target is omitted due to linting errors
|
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then make test; else make; fi
|