prometheus/.travis.yml

25 lines
490 B
YAML
Raw Normal View History

# sudo is enabled because it provides more memory which was needed to run go test -race
sudo: required
dist: trusty
2017-04-09 08:18:19 +00:00
language: go
os:
- windows
- linux
- osx
2017-04-09 08:18:19 +00:00
go:
- 1.10.x
- 1.11.x
2017-04-09 08:18:19 +00:00
go_import_path: github.com/prometheus/tsdb
before_install:
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install make; fi
install:
- make deps
2017-04-09 08:18:19 +00:00
script:
# `staticcheck` target is omitted due to linting errors
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then make test; else make; fi